bolt/deps/llvm-18.1.8/mlir/examples/standalone/test/Standalone/standalone-pass-plugin.mlir
2025-02-14 19:21:04 +01:00

13 lines
304 B
MLIR

// RUN: mlir-opt %s --load-pass-plugin=%standalone_libs/StandalonePlugin%shlibext --pass-pipeline="builtin.module(standalone-switch-bar-foo)" | FileCheck %s
module {
// CHECK-LABEL: func @foo()
func.func @bar() {
return
}
// CHECK-LABEL: func @abar()
func.func @abar() {
return
}
}