• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# RUN: not llc -march=x86-64 -start-after branch-folder -stop-after branch-folder -o /dev/null %s 2>&1 | FileCheck %s
2
3--- |
4  define i32 @inc(i32* %x) {
5  entry:
6    %0 = load i32, i32* %x
7    %1 = add i32 %0, 1
8    store i32 %1, i32* %x
9    ret i32 %1
10  }
11...
12---
13name:            inc
14tracksRegLiveness: true
15liveins:
16  - { reg: '%rdi' }
17body: |
18  bb.0.entry:
19    liveins: %rdi
20  ; CHECK: [[@LINE+1]]:60: use of unknown metadata keyword '!tba'
21    %eax = MOV32rm %rdi, 1, _, 0, _ :: (load 4 from %ir.x, !tba !0)
22    %eax = INC32r killed %eax, implicit-def dead %eflags
23    MOV32mr killed %rdi, 1, _, 0, _, %eax :: (store 4 into %ir.x)
24    RETQ %eax
25...
26