summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/MIR/X86/missing-comma.mir
blob: 54c67ac6c9117d1d385c773c06195e939938a596 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# RUN: not llc -march=x86-64 -start-after branch-folder -stop-after branch-folder -o /dev/null %s 2>&1 | FileCheck %s

--- |

  define i32 @foo() {
  entry:
    ret i32 0
  }

...
---
name:            foo
body:
 - id:           0
   name:         entry
   instructions:
     # CHECK: [[@LINE+1]]:29: expected ',' before the next machine operand
     - '%eax = XOR32rr %eax %eflags'
     - 'RETQ %eax'
...

OpenPOWER on IntegriCloud