[llvm] r245189 - [SimplifyLibCalls] Drop default template args. No functional change.

Benjamin Kramer via llvm-commits llvm-commits at lists.llvm.org
Sun Aug 16 14:16:37 PDT 2015


Author: d0k
Date: Sun Aug 16 16:16:37 2015
New Revision: 245189

URL: http://llvm.org/viewvc/llvm-project?rev=245189&view=rev
Log:
[SimplifyLibCalls] Drop default template args. No functional change.

Modified:
    llvm/trunk/lib/Transforms/Utils/SimplifyLibCalls.cpp

Modified: llvm/trunk/lib/Transforms/Utils/SimplifyLibCalls.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Utils/SimplifyLibCalls.cpp?rev=245189&r1=245188&r2=245189&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Utils/SimplifyLibCalls.cpp (original)
+++ llvm/trunk/lib/Transforms/Utils/SimplifyLibCalls.cpp Sun Aug 16 16:16:37 2015
@@ -1206,8 +1206,7 @@ Value *LibCallSimplifier::optimizeFMinFM
   // fast-math flag decorations that are applied to FP instructions. For now,
   // we have to rely on the function-level attributes to do this optimization
   // because there's no other way to express that the calls can be relaxed.
-  IRBuilder<true, ConstantFolder,
-    IRBuilderDefaultInserter<true> >::FastMathFlagGuard Guard(B);
+  IRBuilder<>::FastMathFlagGuard Guard(B);
   FastMathFlags FMF;
   Function *F = CI->getParent()->getParent();
   Attribute Attr = F->getFnAttribute("unsafe-fp-math");
@@ -1292,8 +1291,7 @@ Value *LibCallSimplifier::optimizeSqrt(C
         // and multiply.
         // FIXME: We're not checking the sqrt because it doesn't have
         // fast-math-flags (see earlier comment).
-        IRBuilder<true, ConstantFolder,
-          IRBuilderDefaultInserter<true> >::FastMathFlagGuard Guard(B);
+        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.




More information about the llvm-commits mailing list