1 # RUN: llc -march=x86-64 -run-pass none -o - %s | FileCheck %s
2 # This test ensures that the MIR parser parses the 'undef' register flags
7 define i32 @compute(i32 %a) #0 {
13 define i32 @foo(i32 %a) #0 {
15 %b = call i32 @compute(i32 %a)
19 attributes #0 = { "no-frame-pointer-elim"="false" }
26 $eax = IMUL32rri8 $edi, 11, implicit-def $eflags
33 ; CHECK: PUSH64r undef $rax
34 PUSH64r undef $rax, implicit-def $rsp, implicit $rsp
35 CALL64pcrel32 @compute, csr_64, implicit $rsp, implicit $edi, implicit-def $rsp, implicit-def $eax
36 $rdx = POP64r implicit-def $rsp, implicit $rsp