[Mlir-commits] [mlir] [MLIR][Conversion] Add convert-xevm-to-llvm pass. (PR #147375)

Adam Siemieniuk llvmlistbot at llvm.org
Tue Jul 8 02:00:06 PDT 2025


================
@@ -1495,4 +1495,13 @@ def ConvertVectorToXeGPU : Pass<"convert-vector-to-xegpu"> {
   ];
 }
 
+//===----------------------------------------------------------------------===//
+// XeVMToLLVM
+//===----------------------------------------------------------------------===//
+
+def ConvertXeVMToLLVMPass : Pass<"convert-xevm-to-llvm"> {
+  let summary = "Convert XeVM to LLVM dialect";
+  let dependentDialects = ["xevm::XeVMDialect", ];
----------------
adam-smnk wrote:

Dependency is only needed for the dialects from which ops are created by the pass.
In this case, `LLVM::LLVMDialect` is definitely needed. Also, I imagine you don't create any more `xevm` ops here so it can be removed.

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


More information about the Mlir-commits mailing list