blob: a1dc3ab76e01362d4a6a725b2ef10279ccfdd43f [file] [log] [blame]
Krzysztof Parzyszek046090d2018-03-12 14:01:28 +00001; RUN: llc -march=hexagon < %s
2; REQUIRES: asserts
3
4target triple = "hexagon"
5
6; Function Attrs: nounwind
7define void @f0() #0 {
8b0:
9 br label %b1
10
11b1: ; preds = %b0
12 br i1 undef, label %b2, label %b3
13
14b2: ; preds = %b1
15 %v0 = tail call <32 x i32> @llvm.hexagon.V6.lo.128B(<64 x i32> undef)
16 store <32 x i32> %v0, <32 x i32>* undef, align 128
17 unreachable
18
19b3: ; preds = %b1
20 ret void
21}
22
23; Function Attrs: nounwind readnone
24declare <32 x i32> @llvm.hexagon.V6.lo.128B(<64 x i32>) #1
25
26attributes #0 = { nounwind "target-cpu"="hexagonv60" "target-features"="+hvx,+hvx-length128b" }
27attributes #1 = { nounwind readnone }