• 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# This test ensures that the MIR parser runs the machine verifier after parsing.
3
4--- |
5
6  define i32 @inc(i32 %a) {
7  entry:
8    ret i32 %a
9  }
10
11...
12---
13name:            inc
14body: |
15  bb.0.entry:
16    liveins: %edi
17   ; CHECK: *** Bad machine code: Too few operands ***
18   ; CHECK: instruction: COPY
19   ; CHECK: 2 operands expected, but 0 given.
20    COPY
21    RETQ
22...
23