projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
80f6a50
)
Fix coding style issues.
author
Cameron Zwarich
<zwarich@apple.com>
Sat, 8 Jan 2011 17:07:11 +0000
(17:07 +0000)
committer
Cameron Zwarich
<zwarich@apple.com>
Sat, 8 Jan 2011 17:07:11 +0000
(17:07 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@123065
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Transforms/Scalar/LoopInstSimplify.cpp
patch
|
blob
|
history
diff --git
a/lib/Transforms/Scalar/LoopInstSimplify.cpp
b/lib/Transforms/Scalar/LoopInstSimplify.cpp
index 5c563b2f788d46062b85e5de1202aa06954cbc1a..ad73f7b8e79841b96590965646691aafa5c6fa5c 100644
(file)
--- a/
lib/Transforms/Scalar/LoopInstSimplify.cpp
+++ b/
lib/Transforms/Scalar/LoopInstSimplify.cpp
@@
-54,7
+54,7
@@
INITIALIZE_PASS_DEPENDENCY(LCSSA)
INITIALIZE_PASS_END(LoopInstSimplify, "loop-instsimplify",
"Simplify instructions in loops", false, false)
-Pass
*
llvm::createLoopInstSimplifyPass() {
+Pass
*
llvm::createLoopInstSimplifyPass() {
return new LoopInstSimplify();
}
@@
-87,7
+87,7
@@
bool LoopInstSimplify::runOnLoop(Loop *L, LPPassManager &LPM) {
while (!VisitStack.empty()) {
WorklistItem Item = VisitStack.pop_back_val();
- BasicBlock
*
BB = Item.getPointer();
+ BasicBlock
*
BB = Item.getPointer();
bool IsSubloopHeader = Item.getInt();
// Simplify instructions in the current basic block.