brintos

brintos / llvm-project-archived public Read only

0
0
Text · 653 B · e4da057 Raw
26 lines · plain
1; RUN: llc -mtriple=hexagon < %s2; REQUIRES: asserts3; Used to fail with "Cannot select: 0x16cb2d0: v4i16 = zero_extend"4 5target triple = "hexagon-unknown-linux-gnu"6 7; Function Attrs: nounwind8define void @f0() #0 {9b0:10  br i1 undef, label %b1, label %b311 12b1:                                               ; preds = %b013  br label %b214 15b2:                                               ; preds = %b2, %b116  %v0 = load <3 x i8>, ptr undef, align 817  %v1 = zext <3 x i8> %v0 to <3 x i16>18  store <3 x i16> %v1, ptr undef, align 819  br label %b220 21b3:                                               ; preds = %b022  ret void23}24 25attributes #0 = { nounwind }26