[SimplifyLibCalls] Removed some TODOs which are already implemented. NFC.

Summary:
D14302 implements tan(atan(x)) -> x
D14045 implements pow(exp(x), y) -> exp(x*y)

Patch by Mandeep Singh Grang <mgrang@codeaurora.org>

Reviewers: majnemer, davide

Differential Revision: http://reviews.llvm.org/D14882

llvm-svn: 253768
This commit is contained in:
Weiming Zhao 2015-11-21 06:10:20 +00:00
parent 41d0fa772f
commit 8d5c08f591
1 changed files with 0 additions and 4 deletions

View File

@ -2273,7 +2273,6 @@ void LibCallSimplifier::replaceAllUsesWith(Instruction *I, Value *With) {
// * lround(cnst) -> cnst'
//
// pow, powf, powl:
// * pow(exp(x),y) -> exp(x*y)
// * pow(sqrt(x),y) -> pow(x,y*0.5)
// * pow(pow(x,y),z)-> pow(x,y*z)
//
@ -2289,9 +2288,6 @@ void LibCallSimplifier::replaceAllUsesWith(Instruction *I, Value *With) {
// * sqrt(Nroot(x)) -> pow(x,1/(2*N))
// * sqrt(pow(x,y)) -> pow(|x|,y*0.5)
//
// tan, tanf, tanl:
// * tan(atan(x)) -> x
//
// trunc, truncf, truncl:
// * trunc(cnst) -> cnst'
//