brintos

brintos / llvm-project-archived public Read only

0
0
Text · 448 B · 0d1aac8 Raw
24 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(ptr %a) {6  entry:7    %b = load i32, ptr %a8    ret i32 %b9  }10 11...12---13name:            test14tracksRegLiveness: true15liveins:16  - { reg: '$rdi' }17body: |18  bb.0.entry:19    liveins: $rdi20  ; CHECK: [[@LINE+1]]:48: expected 'load' or 'store' memory operation21    $eax = MOV32rm killed $rdi, 1, _, 0, _ :: (4 from %ir.a)22    RET64 $eax23...24