26 lines · plain
1# RUN: llc -mtriple=hexagon -run-pass if-converter %s -o - | FileCheck %s2 3# Make sure this gets if-converted and it doesn't crash.4# CHECK-LABEL: bb.05# CHECK: PS_jmpret $r316# CHECK-NOT: bb.{{[1-9]+}}:7 8---9name: fred10tracksRegLiveness: true11body: |12 bb.0:13 successors: %bb.1, %bb.214 liveins: $r015 renamable $p0 = C2_cmpeqi killed renamable $r0, 016 J2_jumpf killed renamable $p0, %bb.2, implicit-def dead $pc17 18 bb.1:19 S4_storeiri_io undef renamable $r0, 0, 32768 :: (store (s32) into `ptr undef`)20 PS_jmpret $r31, implicit-def dead $pc21 22 bb.2:23 S4_storeiri_io undef renamable $r0, 0, 32768 :: (store (s32) into `ptr undef`)24 PS_jmpret $r31, implicit-def dead $pc25...26