mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-27 13:40:30 +00:00
3358dc461b
Recent change exposed this issue, breaking the Hexagon buildbots. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@280973 91177308-0d34-0410-b5e6-96231b3b80d8
11 lines
339 B
LLVM
11 lines
339 B
LLVM
; A copy of 2012-06-08-APIntCrash.ll with arch explicitly set to hexagon.
|
|
|
|
; RUN: llc -march=hexagon < %s
|
|
|
|
define void @test1(<8 x i32>* %ptr) {
|
|
%1 = load <8 x i32>, <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>
|
|
store <8 x i32> %2, <8 x i32>* %ptr, align 16
|
|
ret void
|
|
}
|