[llvm] r360125 - Test commit access
Orlando Cazalet-Hyams via llvm-commits
llvm-commits at lists.llvm.org
Tue May 7 02:30:55 PDT 2019
Author: orlandoch
Date: Tue May 7 02:30:55 2019
New Revision: 360125
URL: http://llvm.org/viewvc/llvm-project?rev=360125&view=rev
Log:
Test commit access
Modified:
llvm/trunk/lib/Transforms/Utils/SimplifyCFG.cpp
Modified: llvm/trunk/lib/Transforms/Utils/SimplifyCFG.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Utils/SimplifyCFG.cpp?rev=360125&r1=360124&r2=360125&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Utils/SimplifyCFG.cpp (original)
+++ llvm/trunk/lib/Transforms/Utils/SimplifyCFG.cpp Tue May 7 02:30:55 2019
@@ -2601,7 +2601,7 @@ bool llvm::FoldBranchToCommonDest(Branch
// unconditionally. We denote all involved instructions except the condition
// as "bonus instructions", and only allow this transformation when the
// number of the bonus instructions we'll need to create when cloning into
- // each predecessor does not exceed a certain threshold.
+ // each predecessor does not exceed a certain threshold.
unsigned NumBonusInsts = 0;
for (auto I = BB->begin(); Cond != &*I; ++I) {
// Ignore dbg intrinsics.
@@ -2618,7 +2618,7 @@ bool llvm::FoldBranchToCommonDest(Branch
// and Cond.
// Account for the cost of duplicating this instruction into each
- // predecessor.
+ // predecessor.
NumBonusInsts += PredCount;
// Early exits once we reach the limit.
if (NumBonusInsts > BonusInstThreshold)
More information about the llvm-commits
mailing list