1 # RUN: llc -o - -mtriple=x86_64-- -run-pass=regallocfast %s | FileCheck %s
2 # Fast regalloc used to not collect physical register definitions
3 # before walking and assigning the virtual definition.
4 # Therefore it was possible for a virtual definition to end up
5 # using the same register as a later (in terms of operand list) physical
7 # Check this does not happen.
11 name: instruction_with_1virtreg_1physreg_defs
12 tracksRegLiveness: true
15 ; CHECK-NOT: $rax = KILL implicit-def dead $rax
16 %0:gr64 = KILL implicit-def dead $rax