[PATCH] D65979: [InstCombine] Simplify pow() into ldexp()
Dávid Bolvanský via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Aug 8 15:27:42 PDT 2019
xbolva00 added inline comments.
================
Comment at: llvm/lib/Transforms/Utils/SimplifyLibCalls.cpp:1332
+ : B.CreateZExt(ExpoI, B.getInt32Ty());
+ return emitBinaryFloatFnCall(ConstantFP::get(Ty, 1.0), ExpoI, TLI,
+ LibFunc_ldexp, LibFunc_ldexpf, LibFunc_ldexpl,
----------------
There is one "emit ldexp" old code in SLC which could use emitBinaryFloatFnCall.
Repository:
rL LLVM
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D65979/new/
https://reviews.llvm.org/D65979
More information about the llvm-commits
mailing list