[flang-commits] [flang] [mlir] [MLIR] Add cpow support in ComplexToROCDLLibraryCalls (PR #153183)
Akash Banerjee via flang-commits
flang-commits at lists.llvm.org
Mon Aug 18 09:13:52 PDT 2025
================
@@ -1625,15 +1647,19 @@ static constexpr MathOperation mathOperations[] = {
genFuncType<Ty::Real<16>, Ty::Real<16>, Ty::Integer<8>>,
genMathOp<mlir::math::FPowIOp>},
{"pow", RTNAME_STRING(cpowi),
----------------
TIFitis wrote:
Sorry, but I didn't understand. This pass only runs on device pass for amdgpu and converts the complex ops to relevant ocml library calls. Are you suggesting we delay this conversion to something like `mlir/lib/Conversion/ComplexToLLVM/ComplexToLLVM.cpp`?
https://github.com/llvm/llvm-project/pull/153183
More information about the flang-commits
mailing list