[llvm-branch-commits] [llvm-branch] r91476 - /llvm/branches/Apple/Zoidberg/lib/CodeGen/BranchFolding.cpp

Bill Wendling isanbard at gmail.com
Tue Dec 15 16:00:53 PST 2009


Author: void
Date: Tue Dec 15 18:00:53 2009
New Revision: 91476

URL: http://llvm.org/viewvc/llvm-project?rev=91476&view=rev
Log:
$ svn merge -c 91475 https://llvm.org/svn/llvm-project/llvm/trunk
--- Merging r91475 into '.':
U    lib/CodeGen/BranchFolding.cpp


Modified:
    llvm/branches/Apple/Zoidberg/lib/CodeGen/BranchFolding.cpp

Modified: llvm/branches/Apple/Zoidberg/lib/CodeGen/BranchFolding.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/branches/Apple/Zoidberg/lib/CodeGen/BranchFolding.cpp?rev=91476&r1=91475&r2=91476&view=diff

==============================================================================
--- llvm/branches/Apple/Zoidberg/lib/CodeGen/BranchFolding.cpp (original)
+++ llvm/branches/Apple/Zoidberg/lib/CodeGen/BranchFolding.cpp Tue Dec 15 18:00:53 2009
@@ -1222,7 +1222,7 @@
         // Analyze the branch at the end of the pred.
         MachineBasicBlock *PredBB = *PI;
         MachineFunction::iterator PredFallthrough = PredBB; ++PredFallthrough;
-        MachineBasicBlock *PredTBB, *PredFBB;
+        MachineBasicBlock *PredTBB = 0, *PredFBB = 0;
         SmallVector<MachineOperand, 4> PredCond;
         if (PredBB != MBB && !PredBB->canFallThrough() &&
             !TII->AnalyzeBranch(*PredBB, PredTBB, PredFBB, PredCond, true)





More information about the llvm-branch-commits mailing list