OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0f019d6
)
[SimplifyLibCalls] Cross out implemented transformations.
author
Davide Italiano
<davide@freebsd.org>
Sun, 29 Nov 2015 21:00:43 +0000
(21:00 +0000)
committer
Davide Italiano
<davide@freebsd.org>
Sun, 29 Nov 2015 21:00:43 +0000
(21:00 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@254264
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Transforms/Utils/SimplifyLibCalls.cpp
patch
|
blob
|
history
diff --git
a/lib/Transforms/Utils/SimplifyLibCalls.cpp
b/lib/Transforms/Utils/SimplifyLibCalls.cpp
index
c811e19
..
e7eb39d
100644
(file)
--- a/
lib/Transforms/Utils/SimplifyLibCalls.cpp
+++ b/
lib/Transforms/Utils/SimplifyLibCalls.cpp
@@
-2301,12
+2301,10
@@
void LibCallSimplifier::replaceAllUsesWith(Instruction *I, Value *With) {
//
// log, logf, logl:
// * log(exp(x)) -> x
-// * log(x**y) -> y*log(x)
// * log(exp(y)) -> y*log(e)
// * log(exp2(y)) -> y*log(2)
// * log(exp10(y)) -> y*log(10)
// * log(sqrt(x)) -> 0.5*log(x)
-// * log(pow(x,y)) -> y*log(x)
//
// lround, lroundf, lroundl:
// * lround(cnst) -> cnst'