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