brintos

brintos / llvm-project-archived public Read only

0
0
Text · 373 B · 7edb3b8 Raw
24 lines · plain
1// RUN: mlir-opt -allow-unregistered-dialect %s --test-take-body -split-input-file2 3func.func @foo() {4  %0 = "test.foo"() : () -> i325  cf.br ^header6 7^header:8  cf.br ^body9 10^body:11  "test.use"(%0) : (i32) -> ()12  cf.br ^header13}14 15func.func private @bar() {16  return17}18 19// CHECK-LABEL: func @foo20// CHECK-NEXT: return21 22// CHECK-LABEL: func private @bar()23// CHECK-NOT: {24