blob: bcfdadf7ac07011cc634699880e1c6fb6626a12f [file] [log] [blame]
# RUN: llc -march=x86-64 -run-pass none -o - %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: bb.0.body:
bb.0.body:
; CHECK: $eax = IMUL32rri8 $edi, 11, implicit-def dead $eflags
$eax = IMUL32rri8 $edi, 11, implicit-def dead $eflags
RETQ $eax
...