summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/MIR/X86/missing-comma.mir
blob: 0aaba6ddaa3a0815b5a53d910534ee4a50f73e72 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# RUN: not llc -march=x86-64 -run-pass none -o /dev/null %s 2>&1 | FileCheck %s

--- |

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

...
---
name:            foo
body: |
  bb.0.entry:
    ; CHECK: [[@LINE+1]]:25: expected ',' before the next machine operand
    %eax = XOR32rr %eax %eflags
    RETQ %eax
...

OpenPOWER on IntegriCloud