1 # RUN: llc -mtriple=x86_64-unknown-linux-gnu -run-pass=register-coalescer -o - %s
3 name: rematerialize_subreg_to_reg_added_impdef_1
4 tracksRegLiveness: true
7 successors: %bb.1(0x2aaaaaab), %bb.2(0x55555555)
10 %0:gr32 = MOV32r0 implicit-def dead $eflags
11 %1:gr8 = COPY %0.sub_8bit
12 %2:gr64 = SUBREG_TO_REG 0, killed %0, %subreg.sub_32bit
13 JCC_1 %bb.2, 5, implicit killed undef $eflags
16 successors: %bb.3(0x80000000)
21 successors: %bb.3(0x80000000)
23 %5:gr64 = IMPLICIT_DEF
24 %2:gr64 = COPY killed %5
27 successors: %bb.4(0x30000000), %bb.5(0x50000000)
29 JCC_1 %bb.5, 5, implicit killed undef $eflags
33 RET 0, killed undef $al
36 MOV64mr undef $noreg, 1, undef $noreg, 0, undef $noreg, killed %2 :: (store (s64))
37 RET 0, killed undef $al