1 # RUN: llc -march=hexagon -run-pass if-converter %s -o - | FileCheck %s
3 # Make sure this gets if-converted and it doesn't crash.
5 # CHECK: PS_jmpret $r31
6 # CHECK-NOT: bb.{{[1-9]+}}:
10 tracksRegLiveness: true
13 successors: %bb.1, %bb.2
15 renamable $p0 = C2_cmpeqi killed renamable $r0, 0
16 J2_jumpf killed renamable $p0, %bb.2, implicit-def dead $pc
19 S4_storeiri_io undef renamable $r0, 0, 32768 :: (store (s32) into `ptr undef`)
20 PS_jmpret $r31, implicit-def dead $pc
23 S4_storeiri_io undef renamable $r0, 0, 32768 :: (store (s32) into `ptr undef`)
24 PS_jmpret $r31, implicit-def dead $pc