Krzysztof Parzyszek | 4211334 | 2015-03-19 16:33:08 +0000 | [diff] [blame] | 1 | ; RUN: llc -march=hexagon < %s |
| 2 | ; Used to fail with "Cannot select: 0x17300f0: v2i32 = any_extend" |
| 3 | |
| 4 | ; ModuleID = 'bugpoint-reduced-simplified.bc' |
| 5 | target datalayout = |
| 6 | "e-p:32:32:32-i64:64:64-i32:32:32-i16:16:16-i1:32:32-f64:64:64-f32:32:32-a0:0-n32" |
| 7 | target triple = "hexagon-unknown-linux-gnu" |
| 8 | |
| 9 | define void @foo() nounwind { |
| 10 | entry: |
| 11 | %_p_vec_full48 = load <4 x i8>, <4 x i8>* undef, align 8 |
| 12 | %0 = zext <4 x i8> %_p_vec_full48 to <4 x i32> |
| 13 | store <4 x i32> %0, <4 x i32>* undef, align 8 |
| 14 | unreachable |
| 15 | } |