blob: 536dad165ef827e0ed676bd60a4172d70e091caa [file] [log] [blame]
Krzysztof Parzyszeka696b1b2016-09-08 17:42:14 +00001; A copy of 2012-06-08-APIntCrash.ll with arch explicitly set to hexagon.
2
3; RUN: llc -march=hexagon < %s
4
5define void @test1(<8 x i32>* %ptr) {
6 %1 = load <8 x i32>, <8 x i32>* %ptr, align 32
7 %2 = and <8 x i32> %1, <i32 0, i32 0, i32 0, i32 -1, i32 0, i32 0, i32 0, i32 -1>
8 store <8 x i32> %2, <8 x i32>* %ptr, align 16
9 ret void
10}