• 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
5  define i32 @foo(i32 %a) {
6  entry:
7    %0 = icmp sle i32 %a, 10
8    br i1 %0, label %less, label %exit
9
10  less:
11    ret i32 0
12
13  exit:
14    ret i32 %a
15  }
16
17...
18---
19name:            foo
20body: |
21  bb.0.entry:
22  ; CHECK: [[@LINE+1]]:29: expected an integer literal after '('
23    successors: %bb.1.less (_), %bb.2.exit(32)
24    liveins: %edi
25
26    CMP32ri8 %edi, 10, implicit-def %eflags
27    JG_1 %bb.2.exit, implicit killed %eflags
28
29  bb.1.less:
30    %eax = MOV32r0 implicit-def dead %eflags
31    RETQ killed %eax
32
33  bb.2.exit:
34    liveins: %edi
35
36    %eax = COPY killed %edi
37    RETQ killed %eax
38...
39