[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 12:57:22 PDT 2024


================
@@ -733,6 +733,24 @@ def ConvertMathToLLVMPass : Pass<"convert-math-to-llvm"> {
   ];
 }
 
+//===----------------------------------------------------------------------===//
+// MathToLibm
+//===----------------------------------------------------------------------===//
+
+def ConvertMathToROCDL : Pass<"convert-math-to-rocdl", "ModuleOp"> {
----------------
krzysz00 wrote:

... Good point, this pass is for testing anyway, let's keep it at `ModuleOp`

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


More information about the Mlir-commits mailing list