Matthias Braun | 538859c | 2016-07-16 02:24:59 +0000 | [diff] [blame] | 1 | # RUN: not llc -march=x86 -run-pass none -o /dev/null %s 2>&1 | FileCheck %s |
Alex Lorenz | 1d9a303 | 2015-08-10 23:45:02 +0000 | [diff] [blame] | 2 | |
| 3 | --- | |
| 4 | |
| 5 | define i32 @test(i32 %a, i32 %b) #0 { |
| 6 | entry: |
| 7 | %c = add i32 %a, %b |
| 8 | ret i32 %c |
| 9 | } |
| 10 | |
| 11 | attributes #0 = { "no-frame-pointer-elim"="false" } |
| 12 | |
| 13 | ... |
| 14 | --- |
| 15 | name: test |
| 16 | tracksRegLiveness: true |
| 17 | frameInfo: |
| 18 | maxAlignment: 4 |
| 19 | fixedStack: |
| 20 | - { id: 0, offset: 4, size: 4, alignment: 4, isImmutable: true, isAliased: false } |
| 21 | # CHECK: [[@LINE+1]]:11: redefinition of fixed stack object '%fixed-stack.0' |
| 22 | - { id: 0, offset: 0, size: 4, alignment: 16, isImmutable: true, isAliased: false } |
Alex Lorenz | 5022f6b | 2015-08-13 23:10:16 +0000 | [diff] [blame] | 23 | body: | |
| 24 | bb.0.entry: |
| 25 | %eax = MOV32rm %esp, 1, _, 4, _ |
| 26 | %eax = ADD32rm killed %eax, %esp, 1, _, 8, _, implicit-def dead %eflags |
| 27 | RETL %eax |
Alex Lorenz | 1d9a303 | 2015-08-10 23:45:02 +0000 | [diff] [blame] | 28 | ... |