brintos

brintos / llvm-project-archived public Read only

0
0
Text · 614 B · e50ced1 Raw
27 lines · plain
1# RUN: not llc -mtriple=x86_64 -run-pass none -o /dev/null %s 2>&1 | FileCheck %s2--- |3  define i32 @test(i32 %x) {4  entry:5    %xa = alloca i32, align 46    store i32 %x, ptr %xa, align 47    %0 = load i32, ptr %xa, align 48    ret i32 %09  }10...11---12name:            test13liveins:14  - { reg: '$edi' }15stack:16  - { id: 0, name: xa, offset: -12, size: 4, alignment: 4,17# CHECK: [[@LINE+1]]:29: expected a metadata node18      debug-info-variable: '0' }19body: |20  bb.0.entry:21    liveins: $edi22 23    MOV32mr $rsp, 1, _, -4, _, $edi :: (store (s32) into %ir.xa)24    $eax = COPY killed $edi25    RET64 killed $eax26...27