Rename findRegisterUseOperand to findRegisterUseOperandIdx to avoid confusion.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36483 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Evan Cheng
2007-04-26 19:00:32 +00:00
parent 6bc6333a10
commit faa510726f
8 changed files with 15 additions and 14 deletions

View File

@ -221,7 +221,7 @@ ARMLoadStoreOpt::MergeLDR_STR(MachineBasicBlock &MBB, unsigned SIndex,
}
}
bool BaseKill = Loc->findRegisterUseOperand(Base, true) != -1;
bool BaseKill = Loc->findRegisterUseOperandIdx(Base, true) != -1;
if (mergeOps(MBB, ++Loc, SOffset, Base, BaseKill, Opcode,Scratch,Regs, TII)) {
Merges.push_back(prior(Loc));
for (unsigned i = SIndex, e = MemOps.size(); i != e; ++i) {