[PATCH] D128591: Transforms: refactor pow(x, n) expansion where n is a constant integer value
Sanjay Patel via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jul 8 12:06:59 PDT 2022
spatel accepted this revision.
spatel added a comment.
This revision is now accepted and ready to land.
I'm not sure if we answered the original question about fast-math-flags, but that can be an independent patch if needed. This part LGTM with the dead code removed.
================
Comment at: llvm/lib/Transforms/Utils/SimplifyLibCalls.cpp:1592
static Value *getPow(Value *InnerChain[33], unsigned Exp, IRBuilderBase &B) {
// Multiplications calculated using Addition Chains.
----------------
This function is dead code now and should be removed.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D128591/new/
https://reviews.llvm.org/D128591
More information about the llvm-commits
mailing list