Register getRegForGEPIndex(MVT PtrVT, const Value *Idx);
/// Retained for ABI compatibility in release branch.
- Register getRegForGEPIndex(const Value *Idx) {
- return getRegForGEPIndex(TLI.getPointerTy(DL), Idx);
- }
+ Register getRegForGEPIndex(const Value *Idx);
/// We're checking to see if we can fold \p LI into \p FoldInst. Note
/// that we could have a sequence where multiple LLVM IR instructions are
return IdxN;
}
+Register FastISel::getRegForGEPIndex(const Value *Idx) {
+ return getRegForGEPIndex(TLI.getPointerTy(DL), Idx);
+}
+
void FastISel::recomputeInsertPt() {
if (getLastLocalValue()) {
FuncInfo.InsertPt = getLastLocalValue();