12 lines
267 B
MLIR
12 lines
267 B
MLIR
|
|
// RUN: standalone-opt %s | standalone-opt | FileCheck %s
|
||
|
|
|
||
|
|
module {
|
||
|
|
// CHECK-LABEL: func @bar()
|
||
|
|
func @bar() {
|
||
|
|
%0 = constant 1 : i32
|
||
|
|
// CHECK: %{{.*}} = standalone.foo %{{.*}} : i32
|
||
|
|
%res = standalone.foo %0 : i32
|
||
|
|
return
|
||
|
|
}
|
||
|
|
}
|