[llvm] [GlobalISel][AArch64][AMDGPU] Expand FPOWI into series of multiplication (PR #95217)
David Green via llvm-commits
llvm-commits at lists.llvm.org
Sun Jun 23 12:11:32 PDT 2024
https://github.com/davemgreen commented:
Thanks. I had actually misread isBeneficialToExpandPowI and hadn't realized the heuristic was OptSize only - that the tree of multiplies was efficient enough for any possible constant. That's cool it works like that.
Other than calling isBeneficialToExpandPowI directly this looks OK to me.
https://github.com/llvm/llvm-project/pull/95217
More information about the llvm-commits
mailing list