[Mlir-commits] [mlir] [mlir][spirv] Add a generic `convert-to-spirv` pass (PR #95942)
Mehdi Amini
llvmlistbot at llvm.org
Wed Aug 28 13:50:13 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:
> The TL;DR is we didn't know what interfaces to have
I don't quite understand? Why isn't it just copy the convert-to-llvm one and rename it?
I have strong concerns with in-tree monolithic passes like this: what is the timeline to remove this and migrate to a pluggable one?
https://github.com/llvm/llvm-project/pull/95942
More information about the Mlir-commits
mailing list