1 # RUN: llc -march=mips64 -o - %s -run-pass=simple-register-coalescing | FileCheck %s
5 tracksRegLiveness: true
10 %21:gpr32 = ADDiu $zero, 0
12 %22:gpr32 = ADDiu %22, 1
13 J %bb.1, implicit-def dead $at
18 BEQ %22, $zero, %bb.2, implicit-def $at
21 successors: %bb.2, %bb.3
25 BEQ undef %0:gpr32, $zero, %bb.2, implicit-def $at
31 # We should not hoist the
33 # %22:gpr32 = COPY %21
35 # into bb.1 since %22 is used in the BEQ.