[PATCH] D63038: [SimplifyLibCalls] powf(x, sitofp(n)) -> powi(x, n)
Dávid Bolvanský via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jun 7 18:14:10 PDT 2019
xbolva00 marked an inline comment as done.
xbolva00 added inline comments.
================
Comment at: lib/Transforms/Utils/SimplifyLibCalls.cpp:1468
+
+ // powf(x, sitofp(n)) -> powi(x, n)
+ if (auto *IntToFP = dyn_cast<SIToFPInst>(Expo)) {
----------------
Maybe I should move transformation before:
if (Value *Exp = replacePowWithExp(Pow, B))
return Exp;
?
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D63038/new/
https://reviews.llvm.org/D63038
More information about the llvm-commits
mailing list