1 ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
2 ; RUN: llc -march=hexagon < %s | FileCheck %s
4 ; This shouldn't crash.
6 define i8 @fred(ptr %a0) #0 {
10 ; CHECK-NEXT: r0 = memw(r0+#0)
13 ; CHECK-NEXT: r0 = extractu(r0,#8,#16)
14 ; CHECK-NEXT: jumpr r31
16 %v0 = load <4 x i8>, ptr %a0, align 4
17 %v1 = shufflevector <4 x i8> %v0, <4 x i8> undef, <1 x i32> <i32 2>
18 %v2 = bitcast <1 x i8> %v1 to i8
22 attributes #0 = { nounwind "target-cpu"="hexagonv66" }