[Mlir-commits] [mlir] [mlir][emitc] Update and extend the TOSA -> EmitC test (PR #177339)

Simon Camphausen llvmlistbot at llvm.org
Thu Jan 22 09:11:41 PST 2026


================
@@ -18,9 +17,12 @@
 // DEFINE: )"
 
 // RUN: mlir-opt --pass-pipeline=%{pipeline} %s | FileCheck %s
-// -----
 
-//      CHECK: emitc.func private @main(%[[ARG0:.*]]: !emitc.array<2xf32>, %[[ARG1:.*]]: !emitc.array<2xf32>, %[[RES:.*]]: !emitc.array<2xf32>)
+// RUN: mlir-opt -split-input-file  \
+// RUN: -transform-preload-library='transform-library-paths=%p/td.mlir' \
+// RUN: -transform-interpreter %s -test-transform-dialect-erase-schedule | mlir-opt -convert-to-emitc | FileCheck %s
----------------
simon-camp wrote:

With the fix below this can go away i guess?

```suggestion
// RUN: -transform-interpreter %s -test-transform-dialect-erase-schedule | FileCheck %s
```

https://github.com/llvm/llvm-project/pull/177339


More information about the Mlir-commits mailing list