[Mlir-commits] [mlir] [mlir][spirv] Add a generic `convert-to-spirv` pass (PR #95942)
Jakub Kuderski
llvmlistbot at llvm.org
Wed Aug 28 11:31:08 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.
----------------
kuhar wrote:
@angelz913 talked about this in https://youtu.be/-qoMMrlYvGs?t=436 (starts around the 7m 15s mark). The TL;DR is we didn't know what interfaces to have, and decided to with a monolithic multi-stage v0 implementation, with the plan to add make it interface-based when gain confidence in this design.
https://github.com/llvm/llvm-project/pull/95942
More information about the Mlir-commits
mailing list