1 ; RUN: llc -mtriple=x86_64-unknown-unknown -o - -stop-after machine-scheduler %s | FileCheck %s --check-prefix=PRE-RA
2 ; RUN: llc -mtriple=x86_64-unknown-unknown -o - -stop-after prologepilog %s | FileCheck %s --check-prefix=POST-RA
4 ; This test verifies that the virtual register references in machine function's
5 ; liveins are cleared after register allocation.
7 define i32 @test(i32 %a, i32 %b) {
14 ; PRE-RA-NEXT: - { reg: '$edi', virtual-reg: '%0' }
15 ; PRE-RA-NEXT: - { reg: '$esi', virtual-reg: '%1' }
18 ; POST-RA-NEXT: - { reg: '$edi', virtual-reg: '' }
19 ; POST-RA-NEXT: - { reg: '$esi', virtual-reg: '' }