[Mlir-commits] [mlir] [mlir][spirv] Add a generic `convert-to-spirv` pass (PR #95942)

Mehdi Amini llvmlistbot at llvm.org
Thu Aug 29 11:34:42 PDT 2024


================
@@ -31,6 +31,18 @@ def ConvertToLLVMPass : Pass<"convert-to-llvm"> {
   ];
 }
 
+//===----------------------------------------------------------------------===//
+// ToSPIRV
+//===----------------------------------------------------------------------===//
+
+def ConvertToSPIRVPass : Pass<"convert-to-spirv"> {
+  let summary = "Convert to SPIR-V";
+  let description = [{
+    This is a generic pass to convert to SPIR-V.
----------------
joker-eph wrote:

> I think this pass is used by the runner. Can we have a test pass that is used by the vulkan runner? 


The runner is supposed to be removed as far as I know (it seems that's another topic that needs a new push by the way...).

So tTat has me even more concerned now! This is a major misalignment to add new stuff to this runner when we agreed before that it should be removed...

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


More information about the Mlir-commits mailing list