Krzysztof Parzyszek | 046090d | 2018-03-12 14:01:28 +0000 | [diff] [blame] | 1 | ; RUN: llc -march=hexagon < %s |
2 | ; REQUIRES: asserts | ||||
3 | ; Used to fail with "Cannot select: 0x17300f0: v2i32 = any_extend" | ||||
4 | |||||
5 | target triple = "hexagon-unknown-linux-gnu" | ||||
6 | |||||
7 | ; Function Attrs: nounwind | ||||
8 | define void @f0() #0 { | ||||
9 | b0: | ||||
10 | %v0 = load <4 x i8>, <4 x i8>* undef, align 8 | ||||
11 | %v1 = zext <4 x i8> %v0 to <4 x i32> | ||||
12 | store <4 x i32> %v1, <4 x i32>* undef, align 8 | ||||
13 | unreachable | ||||
14 | } | ||||
15 | |||||
16 | attributes #0 = { nounwind } |