Be more consistent in the naming convention for the various RET instructions to specify in terms of bitwidth. Helps prevent future scheduler model mismatches like those that were only addressed in D44687. Differential Revision: https://reviews.llvm.org/D113302
29 lines
723 B
YAML
29 lines
723 B
YAML
# RUN: not llc -march=x86 -run-pass none -o /dev/null %s 2>&1 | FileCheck %s
|
|
|
|
--- |
|
|
|
|
define i32 @test(i32 %a, i32 %b) #0 {
|
|
entry:
|
|
%c = add i32 %a, %b
|
|
ret i32 %c
|
|
}
|
|
|
|
attributes #0 = { "frame-pointer"="none" }
|
|
|
|
...
|
|
---
|
|
name: test
|
|
tracksRegLiveness: true
|
|
frameInfo:
|
|
maxAlignment: 4
|
|
fixedStack:
|
|
- { id: 0, offset: 4, size: 4, alignment: 4, isImmutable: true, isAliased: false }
|
|
# CHECK: [[@LINE+1]]:11: redefinition of fixed stack object '%fixed-stack.0'
|
|
- { id: 0, offset: 0, size: 4, alignment: 16, isImmutable: true, isAliased: false }
|
|
body: |
|
|
bb.0.entry:
|
|
$eax = MOV32rm $esp, 1, _, 4, _
|
|
$eax = ADD32rm killed $eax, $esp, 1, _, 8, _, implicit-def dead $eflags
|
|
RET32 $eax
|
|
...
|