[llvm-commits] [llvm] r101251 - /llvm/trunk/lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp
Dan Gohman
gohman at apple.com
Wed Apr 14 09:30:40 PDT 2010
Author: djg
Date: Wed Apr 14 11:30:40 2010
New Revision: 101251
URL: http://llvm.org/viewvc/llvm-project?rev=101251&view=rev
Log:
It's not necessary to recompute EB here.
Modified:
llvm/trunk/lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp
Modified: llvm/trunk/lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp?rev=101251&r1=101250&r2=101251&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp (original)
+++ llvm/trunk/lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp Wed Apr 14 11:30:40 2010
@@ -196,7 +196,7 @@
// Create an initial MachineBasicBlock for each LLVM BasicBlock in F. This
// also creates the initial PHI MachineInstrs, though none of the input
// operands are populated.
- for (BB = Fn->begin(), EB = Fn->end(); BB != EB; ++BB) {
+ for (BB = Fn->begin(); BB != EB; ++BB) {
MachineBasicBlock *MBB = mf.CreateMachineBasicBlock(BB);
MBBMap[BB] = MBB;
MF->push_back(MBB);
More information about the llvm-commits
mailing list