Krzysztof Parzyszek | 046090d | 2018-03-12 14:01:28 +0000 | [diff] [blame] | 1 | ; RUN: llc -march=hexagon < %s |
| 2 | ; REQUIRES: asserts |
| 3 | |
| 4 | ; Test that we do not ICE with a cannot select message when |
| 5 | ; generating a v16i32 constant pool node. |
| 6 | |
| 7 | ; Function Attrs: nounwind |
| 8 | define void @f0() #0 { |
| 9 | b0: |
| 10 | br i1 undef, label %b1, label %b2 |
| 11 | |
| 12 | b1: ; preds = %b1, %b0 |
| 13 | %v0 = phi i32 [ 0, %b1 ], [ 0, %b0 ] |
| 14 | store <16 x i32> zeroinitializer, <16 x i32>* null, align 64 |
| 15 | br i1 false, label %b1, label %b2 |
| 16 | |
| 17 | b2: ; preds = %b1, %b0 |
| 18 | ret void |
| 19 | } |
| 20 | |
| 21 | attributes #0 = { nounwind "target-cpu"="hexagonv60" } |