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
This commit is contained in:
Patrik Hägglund
2012-11-23 14:51:42 +00:00
parent b46702c800
commit 834518f1ce
4 changed files with 3 additions and 6 deletions

View File

@@ -2,7 +2,7 @@
; CHECK-NOT: and
; CHECK-NOT: zext
target datalayout = "-p:64:64:64-n32:64"
target datalayout = "p:64:64:64-n32:64"
define void @foo(double* %d, i64 %n) nounwind {
entry: