diff options
author | Akash Banerjee <akash.banerjee@amd.com> | 2025-09-19 01:51:10 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-09-19 01:51:10 +0100 |
commit | 54677d66c4af83351df63e513d7734e2c25160df (patch) | |
tree | 199eb84c19d55ba4aa3bffaab52ccb0d98e7fd83 /clang/lib/AST/ByteCode/Compiler.cpp | |
parent | 01fca01d3bcbabdebee54bba40157e96152e3e6e (diff) | |
download | llvm-54677d66c4af83351df63e513d7734e2c25160df.zip llvm-54677d66c4af83351df63e513d7734e2c25160df.tar.gz llvm-54677d66c4af83351df63e513d7734e2c25160df.tar.bz2 |
[Flang] Add new ConvertComplexPow pass for Flang (#158642)
This PR introduces a new `ConvertComplexPow` pass for Flang that handles
complex power operations. The change forces lowering to complex.pow
operations when `--math-runtime=precise` is not used, then uses the
`ConvertComplexPow` pass to convert these operations back to library
calls.
- Adds a new `ConvertComplexPow` pass that converts complex.pow ops to
appropriate runtime library calls
- Updates complex power lowering to use `complex.pow` operations by
default instead of direct library calls
#158722 Adds a new `complex.powi` op enabling algebraic optimisations.
Diffstat (limited to 'clang/lib/AST/ByteCode/Compiler.cpp')
0 files changed, 0 insertions, 0 deletions