mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-07 03:40:35 +00:00
Fix a few I's that were meant to be renamed to BI's.
llvm-svn: 55942
This commit is contained in:
parent
6f360fc081
commit
121cc3c111
@ -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<TerminatorInst>(I))
|
||||
if (isa<TerminatorInst>(BI))
|
||||
if (!HandlePHINodesInSuccessorBlocksFast(LLVMBB, F)) {
|
||||
if (DisableFastISelAbort)
|
||||
break;
|
||||
@ -763,7 +763,7 @@ void SelectionDAGISel::SelectAllBasicBlocks(Function &Fn, MachineFunction &MF) {
|
||||
if (isa<CallInst>(BI) || isa<LoadInst>(BI) ||
|
||||
isa<StoreInst>(BI)) {
|
||||
if (BI->getType() != Type::VoidTy) {
|
||||
unsigned &R = FuncInfo->ValueMap[I];
|
||||
unsigned &R = FuncInfo->ValueMap[BI];
|
||||
if (!R)
|
||||
R = FuncInfo->CreateRegForValue(BI);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user