blob: 209f2b6abbd73c40b097947826961d5f15eceb78 [file] [log] [blame]
Krzysztof Parzyszek046090d2018-03-12 14:01:28 +00001; RUN: llc -march=hexagon < %s
2; REQUIRES: asserts
3; Used to fail with "Cannot select: 0x17300f0: v2i32 = any_extend"
4
5target triple = "hexagon-unknown-linux-gnu"
6
7; Function Attrs: nounwind
8define void @f0() #0 {
9b0:
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
16attributes #0 = { nounwind }