Disallow the undocumented practice of starting the datalayout string with '-'.
authorPatrik Hägglund <patrik.h.hagglund@ericsson.com>
Fri, 23 Nov 2012 14:51:42 +0000 (14:51 +0000)
committerPatrik Hägglund <patrik.h.hagglund@ericsson.com>
Fri, 23 Nov 2012 14:51:42 +0000 (14:51 +0000)
commit834518f1cea15796a377afb31844638e3c483e78
tree3d5ef0baf87c624e310a006adba1abebbccdb62f
parentb46702c800e0e1ddb9b4b022d0c08c2b0b27b269
Disallow the undocumented practice of starting the datalayout string with '-'.

Update some test cases accordingly.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@168516 91177308-0d34-0410-b5e6-96231b3b80d8
lib/VMCore/DataLayout.cpp
test/Transforms/IndVarSimplify/iv-zext.ll
test/Transforms/InstCombine/align-external.ll
test/Transforms/SimplifyLibCalls/Puts.ll