summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorCameron Zwarich <zwarich@apple.com>2011-03-16 00:13:40 +0000
committerCameron Zwarich <zwarich@apple.com>2011-03-16 00:13:40 +0000
commit0a0f6f342b9acf8b90618cd3f4e61584370837a3 (patch)
tree19f5521f3c0fb7c84e3c8ba49c760b7ba82b075d /test
parentdeac268f893d5dadea845466fa0e5a11647c6113 (diff)
downloadllvm-0a0f6f342b9acf8b90618cd3f4e61584370837a3.tar.gz
llvm-0a0f6f342b9acf8b90618cd3f4e61584370837a3.tar.bz2
llvm-0a0f6f342b9acf8b90618cd3f4e61584370837a3.tar.xz
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
Diffstat (limited to 'test')
-rw-r--r--test/Transforms/ScalarRepl/2008-01-29-PromoteBug.ll2
-rw-r--r--test/Transforms/ScalarRepl/union-pointer.ll2
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 d799bd77e4..8bc4ff0b3f 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 fe702fa217..ea4ec14e56 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 }