aboutsummaryrefslogtreecommitdiff
path: root/llvm/test/CodeGen/WebAssembly
diff options
context:
space:
mode:
authorAkash Banerjee <akash.banerjee@amd.com>2025-08-20 18:18:30 +0100
committerGitHub <noreply@github.com>2025-08-20 17:18:30 +0000
commitd69ccded4ff14644245990e4ecc4f96e9610dd3d (patch)
treef9d2cb36f42e70f9f8c3fcba2139a54fbab4af3b /llvm/test/CodeGen/WebAssembly
parent65de318d186c815f43b892aa20b98c50f22ab6fe (diff)
downloadllvm-main.zip
llvm-main.tar.gz
llvm-main.tar.bz2
[MLIR] Add cpow support in ComplexToROCDLLibraryCalls (#153183)HEADmain
This PR adds support for complex power operations (`cpow`) in the `ComplexToROCDLLibraryCalls` conversion pass, specifically targeting AMDGPU architectures. The implementation optimises complex exponentiation by using mathematical identities and special-case handling for small integer powers. - Force lowering to `complex.pow` operations for the `amdgcn-amd-amdhsa` target instead of using library calls - Convert `complex.pow(z, w)` to `complex.exp(w * complex.log(z))` using mathematical identity
Diffstat (limited to 'llvm/test/CodeGen/WebAssembly')
0 files changed, 0 insertions, 0 deletions