mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-22 12:33:33 +02:00
19382e1c52
llvm-svn: 241624
27 lines
618 B
YAML
27 lines
618 B
YAML
# 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'
|
|
...
|