Fix coding style issues.
authorCameron Zwarich <zwarich@apple.com>
Sat, 8 Jan 2011 17:07:11 +0000 (17:07 +0000)
committerCameron 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

index 5c563b2f788d46062b85e5de1202aa06954cbc1a..ad73f7b8e79841b96590965646691aafa5c6fa5c 100644 (file)
@@ -54,7 +54,7 @@ INITIALIZE_PASS_DEPENDENCY(LCSSA)
 INITIALIZE_PASS_END(LoopInstSimplify, "loop-instsimplify",
                 "Simplify instructions in loops", false, false)
 
-Passllvm::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();
-      BasicBlockBB = Item.getPointer();
+      BasicBlock *BB = Item.getPointer();
       bool IsSubloopHeader = Item.getInt();
 
       // Simplify instructions in the current basic block.