blob: 309e776de46a1cdd235a6dc37899a56ab39e4258 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
# 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: 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
...
|