[llvm] r270329 - Fix 80-column violation.
Chad Rosier via llvm-commits
llvm-commits at lists.llvm.org
Sat May 21 14:12:09 PDT 2016
Author: mcrosier
Date: Sat May 21 16:12:06 2016
New Revision: 270329
URL: http://llvm.org/viewvc/llvm-project?rev=270329&view=rev
Log:
Fix 80-column violation.
Modified:
llvm/trunk/lib/Transforms/Utils/Local.cpp
Modified: llvm/trunk/lib/Transforms/Utils/Local.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Utils/Local.cpp?rev=270329&r1=270328&r2=270329&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Utils/Local.cpp (original)
+++ llvm/trunk/lib/Transforms/Utils/Local.cpp Sat May 21 16:12:06 2016
@@ -490,7 +490,8 @@ bool llvm::SimplifyInstructionsInBlock(B
// Iterate over the original function, only adding insts to the worklist
// if they actually need to be revisited. This avoids having to pre-init
// the worklist with the entire function's worth of instructions.
- for (BasicBlock::iterator BI = BB->begin(), E = std::prev(BB->end()); BI != E;) {
+ for (BasicBlock::iterator BI = BB->begin(), E = std::prev(BB->end());
+ BI != E;) {
assert(!BI->isTerminator());
Instruction *I = &*BI;
++BI;
More information about the llvm-commits
mailing list