brintos

brintos / llvm-project-archived public Read only

0
0
Text · 626 B · 8cd65ba Raw
23 lines · plain
1; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py2; RUN: llc -mtriple=hexagon < %s | FileCheck %s3 4; This shouldn't crash.5 6define i8 @fred(ptr %a0) #0 {7; CHECK-LABEL: fred:8; CHECK:       // %bb.0:9; CHECK-NEXT:    {10; CHECK-NEXT:     r0 = memw(r0+#0)11; CHECK-NEXT:    }12; CHECK-NEXT:    {13; CHECK-NEXT:     r0 = extractu(r0,#8,#16)14; CHECK-NEXT:     jumpr r3115; CHECK-NEXT:    }16  %v0 = load <4 x i8>, ptr %a0, align 417  %v1 = shufflevector <4 x i8> %v0, <4 x i8> undef, <1 x i32> <i32 2>18  %v2 = bitcast <1 x i8> %v1 to i819  ret i8 %v220}21 22attributes #0 = { nounwind "target-cpu"="hexagonv66" }23