[PATCH] D13994: [SimplifyLibCalls] Optimization for pow(x, n) where n is some constant

Mandeep Singh Grang via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 28 11:50:59 PDT 2015


mgrang added a comment.

David,
I see that all the optimizations for various math related functions is done in SimplifyLibCalls. So I guess SimplifyLibCalls should be the place to do it.
Did you have a particular reason why this expansion should be done in CodeGenPrep?


Repository:
  rL LLVM

http://reviews.llvm.org/D13994





More information about the llvm-commits mailing list