blob: 988b554659cb92958f43c359cee7d3228e439fcf [file] [log] [blame]
# RUN: llc -march=x86-64 -start-after branch-folder -stop-after branch-folder -o /dev/null %s | FileCheck %s
# This test ensures that the MIR parser parses the 'dead' register flags
# correctly.
--- |
define i32 @foo(i32 %a) #0 {
body:
%c = mul i32 %a, 11
ret i32 %c
}
attributes #0 = { "no-frame-pointer-elim"="false" }
...
---
name: foo
body:
# CHECK: name: body
- id: 0
name: body
instructions:
# CHECK: - '%eax = IMUL32rri8 %edi, 11, implicit-def dead %eflags'
- '%eax = IMUL32rri8 %edi, 11, implicit-def dead %eflags'
- 'RETQ %eax'
...