1; RUN: llc -mtriple=hexagon < %s 2; REQUIRES: asserts 3; Used to fail with "Cannot select: 0x16cb2d0: v4i16 = zero_extend" 4 5target triple = "hexagon-unknown-linux-gnu" 6 7; Function Attrs: nounwind 8define void @f0() #0 { 9b0: 10 br i1 undef, label %b1, label %b3 11 12b1: ; preds = %b0 13 br label %b2 14 15b2: ; preds = %b2, %b1 16 %v0 = load <3 x i8>, ptr undef, align 8 17 %v1 = zext <3 x i8> %v0 to <3 x i16> 18 store <3 x i16> %v1, ptr undef, align 8 19 br label %b2 20 21b3: ; preds = %b0 22 ret void 23} 24 25attributes #0 = { nounwind } 26