brintos

brintos / llvm-project-archived public Read only

0
0
Text · 625 B · 022ea03 Raw
26 lines · plain
1# RUN: not llc -mtriple=x86_64 -run-pass none -o /dev/null %s 2>&1 | FileCheck %s2 3--- |4  define i32 @inc(ptr %x) {5  entry:6    %0 = load i32, ptr %x7    %1 = add i32 %0, 18    store i32 %1, ptr %x9    ret i32 %110  }11...12---13name:            inc14tracksRegLiveness: true15liveins:16  - { reg: '$rdi' }17body: |18  bb.0.entry:19    liveins: $rdi20  ; CHECK: [[@LINE+1]]:64: use of unknown metadata keyword '!tba'21    $eax = MOV32rm $rdi, 1, _, 0, _ :: (load (s32) from %ir.x, !tba !0)22    $eax = INC32r killed $eax, implicit-def dead $eflags23    MOV32mr killed $rdi, 1, _, 0, _, $eax :: (store (s32) into %ir.x)24    RET64 $eax25...26