view test/CodeGen/MIR/Generic/machine-basic-block-redefinition-error.mir @ 146:3fc4d5c3e21e

set tail call flag for code segment in CGCAll
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Sun, 23 Dec 2018 19:23:36 +0900
parents 1172e4bd9c6f
children
line wrap: on
line source

# RUN: not llc -run-pass none -o /dev/null %s 2>&1 | FileCheck %s

--- |

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

...
---
name:            foo
body: |
  ; CHECK: [[@LINE+3]]:3: redefinition of machine basic block with id #0
  bb.0:

  bb.0:
...