summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/MIR/machine-basic-block-redefinition-error.mir
blob: deac3b0b69bf1362c2997684496449ca0899ea11 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# RUN: not llc -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:
  # CHECK: redefinition of machine basic block with id #0
  - id:       0
  - id:       0
...
OpenPOWER on IntegriCloud