• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# RUN: not llc -march=x86-64 -start-after branch-folder -stop-after branch-folder -o /dev/null %s 2>&1 | FileCheck %s
2--- |
3
4  define i32 @test(i32 %a) {
5  entry:
6    %b = alloca i32
7    %x = alloca i64
8    %y = alloca i32, i32 %a
9    store i32 %a, i32* %b
10    store i64 2, i64* %x
11    %c = load i32, i32* %b
12    ret i32 %c
13  }
14
15...
16---
17name:            test
18frameInfo:
19  stackSize:       24
20  offsetAdjustment: -16
21  maxAlignment:    8
22  adjustsStack:    true
23stack:
24  - { id: 0, offset: -20, size: 4, alignment: 4 }
25  - { id: 1, offset: -32, size: 8, alignment: 8 }
26  # CHECK: [[@LINE+1]]:55: unknown key 'size'
27  - { id: 2, type: variable-sized, offset: -32, size: 42, alignment: 1 }
28body: |
29  bb.0.entry:
30    MOV32mr %rsp, 1, _, -4, _, %edi
31    MOV64mi32 %rsp, 1, _, -16, _, 2
32    %eax = MOV32rm %rsp, 1, _, -4, _
33    RETQ %eax
34...
35