projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2234ddd
)
more space; NFC
author
Sanjay Patel
<spatel@rotateright.com>
Mon, 11 Jan 2016 22:35:39 +0000
(22:35 +0000)
committer
Sanjay Patel
<spatel@rotateright.com>
Mon, 11 Jan 2016 22:35:39 +0000
(22:35 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@257401
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 cf87ac1cf28bfead14b80bd1656c5bc7c47366b9..ed7ad7a6d2de08927ef2077cb1dba1c33fdb2878 100644
(file)
--- a/
lib/Transforms/Utils/SimplifyLibCalls.cpp
+++ b/
lib/Transforms/Utils/SimplifyLibCalls.cpp
@@
-1439,6
+1439,7
@@
Value *LibCallSimplifier::optimizeSqrt(CallInst *CI, IRBuilder<> &B) {
// and multiply.
IRBuilder<>::FastMathFlagGuard Guard(B);
B.SetFastMathFlags(I->getFastMathFlags());
+
// If we found a repeated factor, hoist it out of the square root and
// replace it with the fabs of that factor.
Module *M = Callee->getParent();