35 lines · plain
1# RUN: llc -mtriple=hexagon -run-pass if-converter -o - %s -verify-machineinstrs | FileCheck %s2 3# CHECK: $r26 = A2_tfr $r14# CHECK: S2_pstorerhf_io undef $p0, undef $r0, 0, killed $r15 6---7name: foo8tracksRegLiveness: true9body: |10 bb.0:11 successors: %bb.1, %bb.212 liveins: $r0, $r113 J2_jumpf undef $p0, %bb.2, implicit-def $pc14 15 bb.1:16 successors: %bb.317 liveins: $r118 ; This <kill> flag should be cleared. It didn't use to be, because19 ; this instruction is treated as a duplicate of the corresponding20 ; instruction from the "false" block bb.2. Clearing of the <kill>21 ; flags was limited to the non-common part of the "true" block.22 $r26 = A2_tfr killed $r123 J2_jump %bb.3, implicit-def $pc24 25 bb.2:26 successors: %bb.327 liveins: $r128 $r26 = A2_tfr $r129 S2_storerh_io undef $r0, 0, killed $r130 J2_jump %bb.3, implicit-def $pc31 32 bb.3:33 liveins: $r2634...35