mirror of https://github.com/llvm/torch-mlir
15 lines
315 B
MLIR
15 lines
315 B
MLIR
// RUN: npcomp-opt -npcomp-iree-backend-lower-linkage %s | FileCheck %s
|
|
|
|
// CHECK-LABEL: func private @decl()
|
|
func private @decl()
|
|
|
|
// CHECK-LABEL: func @public() attributes {iree.module.export} {
|
|
func @public() {
|
|
return
|
|
}
|
|
|
|
// CHECK-LABEL: func private @private() {
|
|
func private @private() {
|
|
return
|
|
}
|