mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 11:13:28 +01:00
1bb3751439
This does not schedule any passes besides the ones necessary to construct and print the machine function. This is useful to test .mir file reading and printing. Differential Revision: http://reviews.llvm.org/D22432 llvm-svn: 275664
31 lines
625 B
YAML
31 lines
625 B
YAML
# RUN: not llc -march=x86-64 -run-pass none -o /dev/null %s 2>&1 | FileCheck %s
|
|
|
|
--- |
|
|
|
|
define i32 @test(i32 %a) #0 {
|
|
entry:
|
|
%b = alloca i32
|
|
store i32 %a, i32* %b
|
|
%c = load i32, i32* %b
|
|
ret i32 %c
|
|
}
|
|
|
|
attributes #0 = { "no-frame-pointer-elim"="false" }
|
|
|
|
...
|
|
---
|
|
name: test
|
|
frameInfo:
|
|
maxAlignment: 4
|
|
fixedStack:
|
|
# CHECK: [[@LINE+1]]:63: unknown key 'isAliased'
|
|
- { id: 0, type: spill-slot, offset: 0, size: 4, isAliased: true }
|
|
stack:
|
|
- { id: 0, offset: -12, size: 4, alignment: 4 }
|
|
body: |
|
|
bb.0.entry:
|
|
MOV32mr %rsp, 1, _, -4, _, %edi
|
|
%eax = COPY %edi
|
|
RETQ %eax
|
|
...
|