summaryrefslogtreecommitdiff
path: root/test/CodeGen/Generic
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
commit7ed1ad54f2c4703e4876ddcc55ba6344371a774f (patch)
treed54cf6e06b9377c1aa81f2b7af63fdcf605da119 /test/CodeGen/Generic
parent0a1852b7748212632dc105670fda34c41311fa1e (diff)
downloadllvm-7ed1ad54f2c4703e4876ddcc55ba6344371a774f.tar.gz
llvm-7ed1ad54f2c4703e4876ddcc55ba6344371a774f.tar.bz2
llvm-7ed1ad54f2c4703e4876ddcc55ba6344371a774f.tar.xz
Fix test case to work on ARM.
Patch by James Benton! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@158316 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/Generic')
-rw-r--r--test/CodeGen/Generic/2012-06-08-APIntCrash.ll5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/CodeGen/Generic/2012-06-08-APIntCrash.ll b/test/CodeGen/Generic/2012-06-08-APIntCrash.ll
index bb285a2073..2c096bf421 100644
--- a/test/CodeGen/Generic/2012-06-08-APIntCrash.ll
+++ b/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
}