[PATCH] D16696: InstCombine: fabs(x) * fabs(x) -> x * x

Sanjay Patel via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 29 14:07:41 PST 2016


spatel added a comment.

I forgot that we had intrinsic/lib folds outside of SimplifyLibCalls. Sorry, if I've missed it, but Is there a reason it's better to do this (and the sqrt and log opts) here?


http://reviews.llvm.org/D16696





More information about the llvm-commits mailing list