[all-commits] [llvm/llvm-project] fdb1f4: [MLIR] Add new complex.powi op (#158722)
Akash Banerjee via All-commits
all-commits at lists.llvm.org
Thu Sep 18 18:36:34 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: fdb1f486387d46bd046d7827fcd19fa44118bffe
https://github.com/llvm/llvm-project/commit/fdb1f486387d46bd046d7827fcd19fa44118bffe
Author: Akash Banerjee <akash.banerjee at amd.com>
Date: 2025-09-19 (Fri, 19 Sep 2025)
Changed paths:
M flang/lib/Optimizer/Builder/IntrinsicCall.cpp
M flang/lib/Optimizer/Transforms/ConvertComplexPow.cpp
M flang/test/Lower/HLFIR/binary-ops.f90
M flang/test/Lower/Intrinsics/pow_complex16i.f90
M flang/test/Lower/Intrinsics/pow_complex16k.f90
M flang/test/Lower/amdgcn-complex.f90
M flang/test/Lower/power-operator.f90
M flang/test/Transforms/convert-complex-pow.fir
M mlir/include/mlir/Dialect/Complex/IR/ComplexOps.td
M mlir/lib/Conversion/ComplexToROCDLLibraryCalls/ComplexToROCDLLibraryCalls.cpp
M mlir/lib/Conversion/ComplexToStandard/ComplexToStandard.cpp
M mlir/lib/Dialect/Math/Transforms/AlgebraicSimplification.cpp
M mlir/lib/Dialect/Math/Transforms/CMakeLists.txt
M mlir/test/Conversion/ComplexToROCDLLibraryCalls/complex-to-rocdl-library-calls.mlir
M mlir/test/Conversion/ComplexToStandard/convert-to-standard.mlir
A mlir/test/Dialect/Complex/powi-simplify.mlir
Log Message:
-----------
[MLIR] Add new complex.powi op (#158722)
This PR adds a new complex.powi operation to MLIR's complex dialect for
computing complex numbers raised to integer powers.
Key changes include:
- Addition of the new `PowiOp` operation definition in the Complex
dialect
- Integration with algebraic simplification passes for optimization
- Support for conversion to ROCDL library calls
- Updates to Flang frontend to generate the new operation
This depends on #158642.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list