[PATCH] D14302: [SimplifyLibCalls] Add a new transform: tan(atan(x)) -> x

Steve Canon via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 3 13:36:36 PST 2015


scanon added a comment.

I'd like to see this made generic so it applies to any 1-to-1 libm function whose inverse is available, since the same pattern applies for  logN(expN(x)), asinh(sinh(x)), atanh(tanh(x)), etc ...


http://reviews.llvm.org/D14302





More information about the llvm-commits mailing list