[Mlir-commits] [flang] [mlir] [MLIR] Add ComplexTOROCDL pass (PR #144926)

Krzysztof Drewniak llvmlistbot at llvm.org
Thu Jun 19 16:12:42 PDT 2025


================
@@ -4105,8 +4106,10 @@ class FIRToLLVMLowering
     // GPU library calls, the rest can be converted to LLVM intrinsics, which
     // is handled in the mathToLLVM conversion. The lowering to libm calls is
     // not needed since all math operations are handled this way.
-    if (isAMDGCN)
+    if (isAMDGCN) {
       mathConvertionPM.addPass(mlir::createConvertMathToROCDL());
+      mathConvertionPM.addPass(mlir::createConvertComplexToROCDL());
----------------
krzysz00 wrote:

AI's got a point on this one

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


More information about the Mlir-commits mailing list