Home | History | Annotate | Download | only in X86
      1 # RUN: not llc -march=x86-64 -run-pass none -o /dev/null %s 2>&1 | FileCheck %s
      2 --- |
      3   define i32 @test(i32 %x) {
      4   entry:
      5     %xa = alloca i32, align 4
      6     store i32 %x, i32* %xa, align 4
      7     %0 = load i32, i32* %xa, align 4
      8     ret i32 %0
      9   }
     10 ...
     11 ---
     12 name:            test
     13 liveins:
     14   - { reg: '$edi' }
     15 stack:
     16   - { id: 0, name: xa, offset: -12, size: 4, alignment: 4,
     17 # CHECK: [[@LINE+1]]:29: expected a metadata node
     18       debug-info-variable: '0' }
     19 body: |
     20   bb.0.entry:
     21     liveins: $edi
     22 
     23     MOV32mr $rsp, 1, _, -4, _, $edi :: (store 4 into %ir.xa)
     24     $eax = COPY killed $edi
     25     RETQ killed $eax
     26 ...
     27