brintos

brintos / llvm-project-archived public Read only

0
0
Text · 793 B · 6217ad3 Raw
38 lines · plain
1# RUN: not llc -mtriple=x86_64 -run-pass none -o /dev/null %s 2>&1 | FileCheck %s2 3--- |4 5  define i32 @test(i32 %a) #0 {6  entry:7    %b = alloca i328    %x = alloca i649    store i32 %a, ptr %b10    store i64 2, ptr %x11    %c = load i32, ptr %b12    ret i32 %c13  }14 15  attributes #0 = { "frame-pointer"="none" }16 17...18---19name:            test20tracksRegLiveness: true21liveins:22  - { reg: '$edi' }23frameInfo:24  maxAlignment:    825stack:26  - { id: 0, name: b, offset: -12, size: 4, alignment: 4 }27# CHECK: [[@LINE+1]]:11: redefinition of stack object '%stack.0'28  - { id: 0, name: x, offset: -24, size: 8, alignment: 8 }29body: |30  bb.0.entry:31    liveins: $edi32 33    MOV32mr $rsp, 1, _, -4, _, killed $edi34    MOV64mi32 $rsp, 1, _, -16, _, 235    $eax = MOV32rm $rsp, 1, _, -4, _36    RET64 $eax37...38