[Mlir-commits] [mlir] [MLIR][ROCDL] Refactor conversion of math operations to ROCDL calls to a separate pass (PR #98653)
Krzysztof Drewniak
llvmlistbot at llvm.org
Fri Jul 12 09:42:27 PDT 2024
================
@@ -733,6 +733,24 @@ def ConvertMathToLLVMPass : Pass<"convert-math-to-llvm"> {
];
}
+//===----------------------------------------------------------------------===//
+// MathToLibm
+//===----------------------------------------------------------------------===//
+
+def ConvertMathToROCDL : Pass<"convert-math-to-rocdl", "ModuleOp"> {
----------------
krzysz00 wrote:
This pass doesn't need to operate on a `ModuleOp` specifically - you probably want this to work on anything that has a symbol table
https://github.com/llvm/llvm-project/pull/98653
More information about the Mlir-commits
mailing list