From: Dan Gohman Date: Mon, 8 Sep 2008 20:37:59 +0000 (+0000) Subject: Fix a few I's that were meant to be renamed to BI's. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=a8657e3587eb71eb920c4f0d7d4baa58f33a277d;p=oota-llvm.git Fix a few I's that were meant to be renamed to BI's. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55942 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp b/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp index abea11cff60..344b91cf82c 100644 --- a/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp +++ b/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp @@ -741,7 +741,7 @@ void SelectionDAGISel::SelectAllBasicBlocks(Function &Fn, MachineFunction &MF) { for (; BI != End; ++BI) { // Just before the terminator instruction, insert instructions to // feed PHI nodes in successor blocks. - if (isa(I)) + if (isa(BI)) if (!HandlePHINodesInSuccessorBlocksFast(LLVMBB, F)) { if (DisableFastISelAbort) break; @@ -763,7 +763,7 @@ void SelectionDAGISel::SelectAllBasicBlocks(Function &Fn, MachineFunction &MF) { if (isa(BI) || isa(BI) || isa(BI)) { if (BI->getType() != Type::VoidTy) { - unsigned &R = FuncInfo->ValueMap[I]; + unsigned &R = FuncInfo->ValueMap[BI]; if (!R) R = FuncInfo->CreateRegForValue(BI); }