summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJakob Stoklund Olesen <stoklund@2pi.dk>2012-06-11 16:01:14 +0000
committerJakob Stoklund Olesen <stoklund@2pi.dk>2012-06-11 16:01:14 +0000
commit4e28777465d86a9e0744036c953b83538ebf2190 (patch)
tree2eb9cbb882538e449bcd4613525db73b18b82230
parent2c09058f199dffc863bfc8c27e749de0a5f2c113 (diff)
downloadbcm5719-llvm-4e28777465d86a9e0744036c953b83538ebf2190.tar.gz
bcm5719-llvm-4e28777465d86a9e0744036c953b83538ebf2190.zip
Fix test case to work on ARM.
Patch by James Benton! llvm-svn: 158316
-rw-r--r--llvm/test/CodeGen/Generic/2012-06-08-APIntCrash.ll5
1 files changed, 3 insertions, 2 deletions
diff --git a/llvm/test/CodeGen/Generic/2012-06-08-APIntCrash.ll b/llvm/test/CodeGen/Generic/2012-06-08-APIntCrash.ll
index bb285a20734..2c096bf4218 100644
--- a/llvm/test/CodeGen/Generic/2012-06-08-APIntCrash.ll
+++ b/llvm/test/CodeGen/Generic/2012-06-08-APIntCrash.ll
@@ -1,8 +1,9 @@
; RUN: llc < %s
-define <8 x i32> @test1(<8 x i32>* %ptr)
+define void @test1(<8 x i32>* %ptr)
{
%1 = load <8 x i32>* %ptr, align 32
%2 = and <8 x i32> %1, <i32 0, i32 0, i32 0, i32 -1, i32 0, i32 0, i32 0, i32 -1>
- ret <8 x i32> %2;
+ store <8 x i32> %2, <8 x i32>* %ptr, align 16
+ ret void
}
OpenPOWER on IntegriCloud