[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
Tue Jul 16 07:34:46 PDT 2024
================
@@ -733,6 +733,24 @@ def ConvertMathToLLVMPass : Pass<"convert-math-to-llvm"> {
];
}
+//===----------------------------------------------------------------------===//
+// MathToLibm
+//===----------------------------------------------------------------------===//
+
+def ConvertMathToROCDL : Pass<"convert-math-to-rocdl", "ModuleOp"> {
----------------
krzysz00 wrote:
Hm, yeah, good point
(I'm basically trying to make sure this works on `gpu.module` and `builtin.module`)
https://github.com/llvm/llvm-project/pull/98653
More information about the Mlir-commits
mailing list