aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/Local.cpp
diff options
context:
space:
mode:
authorChad Rosier <mcrosier@codeaurora.org>2016-05-21 21:12:06 +0000
committerChad Rosier <mcrosier@codeaurora.org>2016-05-21 21:12:06 +0000
commit56def258e33a1e22d3284bd9898507cebd36bad8 (patch)
tree0eecbd8867b545dee43fb663a86102f4792ebd7d /llvm/lib/Transforms/Utils/Local.cpp
parent1c980ca5aa1186e5eab602d2f07ed6db773f8349 (diff)
downloadllvm-56def258e33a1e22d3284bd9898507cebd36bad8.zip
llvm-56def258e33a1e22d3284bd9898507cebd36bad8.tar.gz
llvm-56def258e33a1e22d3284bd9898507cebd36bad8.tar.bz2
Fix 80-column violation.
llvm-svn: 270329
Diffstat (limited to 'llvm/lib/Transforms/Utils/Local.cpp')
-rw-r--r--llvm/lib/Transforms/Utils/Local.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Utils/Local.cpp b/llvm/lib/Transforms/Utils/Local.cpp
index 5af3712..5c28f96 100644
--- a/llvm/lib/Transforms/Utils/Local.cpp
+++ b/llvm/lib/Transforms/Utils/Local.cpp
@@ -490,7 +490,8 @@ bool llvm::SimplifyInstructionsInBlock(BasicBlock *BB,
// 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;