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

Davide Italiano via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 3 13:52:04 PST 2015


davide added a comment.

In http://reviews.llvm.org/D14302#280441, @scanon wrote:

> 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 ...


I'll prepare a generalized version of this patch. Thanks.


http://reviews.llvm.org/D14302





More information about the llvm-commits mailing list