diff options
author | Sanjay Patel <spatel@rotateright.com> | 2016-01-11 22:35:39 +0000 |
---|---|---|
committer | Sanjay Patel <spatel@rotateright.com> | 2016-01-11 22:35:39 +0000 |
commit | 9f67dadea2fd6b16dfc9a3bf9ef2aed6064e051c (patch) | |
tree | 3ec182abdaa297aa2f7a3bd5d4a604d1098d265c | |
parent | 683f29735f71c7f1012999e54b25ec0f1200bae9 (diff) | |
download | bcm5719-llvm-9f67dadea2fd6b16dfc9a3bf9ef2aed6064e051c.tar.gz bcm5719-llvm-9f67dadea2fd6b16dfc9a3bf9ef2aed6064e051c.zip |
more space; NFC
llvm-svn: 257401
-rw-r--r-- | llvm/lib/Transforms/Utils/SimplifyLibCalls.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/Transforms/Utils/SimplifyLibCalls.cpp b/llvm/lib/Transforms/Utils/SimplifyLibCalls.cpp index cf87ac1cf28..ed7ad7a6d2d 100644 --- a/llvm/lib/Transforms/Utils/SimplifyLibCalls.cpp +++ b/llvm/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(); |