diff options
author | Cameron Zwarich <zwarich@apple.com> | 2011-03-16 00:13:40 +0000 |
---|---|---|
committer | Cameron Zwarich <zwarich@apple.com> | 2011-03-16 00:13:40 +0000 |
commit | 0a0f6f342b9acf8b90618cd3f4e61584370837a3 (patch) | |
tree | 19f5521f3c0fb7c84e3c8ba49c760b7ba82b075d | |
parent | deac268f893d5dadea845466fa0e5a11647c6113 (diff) | |
download | external_llvm-0a0f6f342b9acf8b90618cd3f4e61584370837a3.zip external_llvm-0a0f6f342b9acf8b90618cd3f4e61584370837a3.tar.gz external_llvm-0a0f6f342b9acf8b90618cd3f4e61584370837a3.tar.bz2 |
Add native integer type TargetData to some existing tests.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@127717 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | test/Transforms/ScalarRepl/2008-01-29-PromoteBug.ll | 2 | ||||
-rw-r--r-- | test/Transforms/ScalarRepl/union-pointer.ll | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/test/Transforms/ScalarRepl/2008-01-29-PromoteBug.ll b/test/Transforms/ScalarRepl/2008-01-29-PromoteBug.ll index d799bd77..8bc4ff0 100644 --- a/test/Transforms/ScalarRepl/2008-01-29-PromoteBug.ll +++ b/test/Transforms/ScalarRepl/2008-01-29-PromoteBug.ll @@ -1,6 +1,6 @@ ; RUN: opt < %s -scalarrepl -instcombine -S | grep {ret i8 17} ; rdar://5707076 -target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:128:128" +target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:128:128-n8:16:32" target triple = "i386-apple-darwin9.1.0" %struct.T = type <{ i8, [3 x i8] }> diff --git a/test/Transforms/ScalarRepl/union-pointer.ll b/test/Transforms/ScalarRepl/union-pointer.ll index fe702fa..ea4ec14 100644 --- a/test/Transforms/ScalarRepl/union-pointer.ll +++ b/test/Transforms/ScalarRepl/union-pointer.ll @@ -3,7 +3,7 @@ ; RUN: not grep alloca ; RUN: opt < %s -scalarrepl -S | grep {ret i8} -target datalayout = "e-p:32:32" +target datalayout = "e-p:32:32-n8:16:32" target triple = "i686-apple-darwin8.7.2" %struct.Val = type { i32*, i32 } |