mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-08 21:10:35 +00:00
3db44ce9a8
Reviewers: Duncan P. N. Exon Smith git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@243915 91177308-0d34-0410-b5e6-96231b3b80d8
27 lines
566 B
YAML
27 lines
566 B
YAML
# RUN: not llc -march=x86-64 -start-after branch-folder -stop-after branch-folder -o /dev/null %s 2>&1 | FileCheck %s
|
|
|
|
--- |
|
|
|
|
define i32 @test(i32* %a) {
|
|
entry:
|
|
%b = load i32, i32* %a
|
|
ret i32 %b
|
|
}
|
|
|
|
...
|
|
---
|
|
name: test
|
|
tracksRegLiveness: true
|
|
liveins:
|
|
- { reg: '%rdi' }
|
|
body:
|
|
- id: 0
|
|
name: entry
|
|
liveins: [ '%rdi' ]
|
|
instructions:
|
|
# CHECK: [[@LINE+1]]:58: expected the size integer literal after memory operation
|
|
- '%eax = MOV32rm killed %rdi, 1, _, 0, _ :: (load from %ir.a)'
|
|
- 'RETQ %eax'
|
|
...
|
|
|