Fix test case to work on ARM.

Patch by James Benton!

llvm-svn: 158316
This commit is contained in:
Jakob Stoklund Olesen 2012-06-11 16:01:14 +00:00
parent 2c09058f19
commit 4e28777465
1 changed files with 3 additions and 2 deletions

View File

@ -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
}