[llvm] r255620 - LoopUtils: Remove defaults for arguments that are always specified. NFC

Justin Bogner via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 14 21:52:13 PST 2015


Author: bogner
Date: Mon Dec 14 23:52:13 2015
New Revision: 255620

URL: http://llvm.org/viewvc/llvm-project?rev=255620&view=rev
Log:
LoopUtils: Remove defaults for arguments that are always specified. NFC

Modified:
    llvm/trunk/include/llvm/Transforms/Utils/LoopUtils.h

Modified: llvm/trunk/include/llvm/Transforms/Utils/LoopUtils.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Transforms/Utils/LoopUtils.h?rev=255620&r1=255619&r2=255620&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Transforms/Utils/LoopUtils.h (original)
+++ llvm/trunk/include/llvm/Transforms/Utils/LoopUtils.h Mon Dec 14 23:52:13 2015
@@ -302,7 +302,7 @@ BasicBlock *InsertPreheaderForLoop(Loop
 /// will optionally update \c AliasAnalysis and \c ScalarEvolution analyses if
 /// passed into it.
 bool simplifyLoop(Loop *L, DominatorTree *DT, LoopInfo *LI, Pass *PP,
-                  ScalarEvolution *SE = nullptr, AssumptionCache *AC = nullptr);
+                  ScalarEvolution *SE, AssumptionCache *AC);
 
 /// \brief Put loop into LCSSA form.
 ///
@@ -316,7 +316,7 @@ bool simplifyLoop(Loop *L, DominatorTree
 ///
 /// Returns true if any modifications are made to the loop.
 bool formLCSSA(Loop &L, DominatorTree &DT, LoopInfo *LI,
-               ScalarEvolution *SE = nullptr);
+               ScalarEvolution *SE);
 
 /// \brief Put a loop nest into LCSSA form.
 ///
@@ -328,7 +328,7 @@ bool formLCSSA(Loop &L, DominatorTree &D
 ///
 /// Returns true if any modifications are made to the loop.
 bool formLCSSARecursively(Loop &L, DominatorTree &DT, LoopInfo *LI,
-                          ScalarEvolution *SE = nullptr);
+                          ScalarEvolution *SE);
 
 /// \brief Walk the specified region of the CFG (defined by all blocks
 /// dominated by the specified block, and that are in the current loop) in




More information about the llvm-commits mailing list