diff options
Diffstat (limited to 'test/CodeGen/MIR/X86/stack-objects.mir')
-rw-r--r-- | test/CodeGen/MIR/X86/stack-objects.mir | 22 |
1 files changed, 10 insertions, 12 deletions
diff --git a/test/CodeGen/MIR/X86/stack-objects.mir b/test/CodeGen/MIR/X86/stack-objects.mir index 14ed4b74f96f..bdd911075da0 100644 --- a/test/CodeGen/MIR/X86/stack-objects.mir +++ b/test/CodeGen/MIR/X86/stack-objects.mir @@ -21,19 +21,17 @@ name: test frameInfo: maxAlignment: 8 # CHECK: stack: -# CHECK-NEXT: - { id: 0, offset: -12, size: 4, alignment: 4 } -# CHECK-NEXT: - { id: 1, offset: -24, size: 8, alignment: 8 } +# CHECK-NEXT: - { id: 0, name: b, offset: -12, size: 4, alignment: 4 } +# CHECK-NEXT: - { id: 1, name: x, offset: -24, size: 8, alignment: 8 } # CHECK-NEXT: - { id: 2, type: spill-slot, offset: -32, size: 4, alignment: 4 } stack: - - { id: 0, offset: -12, size: 4, alignment: 4 } - - { id: 1, offset: -24, size: 8, alignment: 8 } + - { id: 0, name: b, offset: -12, size: 4, alignment: 4 } + - { id: 1, name: x, offset: -24, size: 8, alignment: 8 } - { id: 2, type: spill-slot, offset: -32, size: 4, alignment: 4 } -body: - - id: 0 - name: entry - instructions: - - 'MOV32mr %rsp, 1, _, -4, _, %edi' - - 'MOV64mi32 %rsp, 1, _, -16, _, 2' - - '%eax = MOV32rm %rsp, 1, _, -4, _' - - 'RETQ %eax' +body: | + bb.0.entry: + MOV32mr %rsp, 1, _, -4, _, %edi + MOV64mi32 %rsp, 1, _, -16, _, 2 + %eax = MOV32rm %rsp, 1, _, -4, _ + RETQ %eax ... |