1 # RUN: llc -march=x86-64 -start-after branch-folder -stop-after branch-folder -o /dev/null %s | FileCheck %s
2 # This test ensures that the MIR parser parses register mask operands correctly.
6 define i32 @compute(i32 %a) #0 {
12 define i32 @foo(i32 %a) #0 {
14 %b = call i32 @compute(i32 %a)
18 attributes #0 = { "no-frame-pointer-elim"="false" }
27 - '%eax = IMUL32rri8 %edi, 11, implicit-def %eflags'
37 # CHECK: - 'PUSH64r %rax
38 # CHECK-NEXT: - 'CALL64pcrel32 @compute, csr_64, implicit %rsp, implicit %edi, implicit-def %rsp, implicit-def %eax'
39 - 'PUSH64r %rax, implicit-def %rsp, implicit %rsp'
40 - 'CALL64pcrel32 @compute, csr_64, implicit %rsp, implicit %edi, implicit-def %rsp, implicit-def %eax'
41 - '%rdx = POP64r implicit-def %rsp, implicit %rsp'