[PATCH] D63038: [SimplifyLibCalls] powf(x, sitofp(n)) -> powi(x, n)

Eli Friedman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 1 16:42:47 PDT 2019


efriedma accepted this revision.
efriedma added a comment.
This revision is now accepted and ready to land.

LGTM



================
Comment at: lib/Transforms/Utils/SimplifyLibCalls.cpp:1414
+static Value *createPowWithIntegerExponent(Value *Base, Value *Expo, Module *M,
+                                      IRBuilder<> &B) {
+  Value *Args[] = {Base, Expo};
----------------
Indentation


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D63038/new/

https://reviews.llvm.org/D63038





More information about the llvm-commits mailing list