Skip to content
Snippets Groups Projects
Commit 139d737a authored by Matt Arsenault's avatar Matt Arsenault Committed by Tobias Hieta
Browse files

Move out of line

parent f12830aa
No related branches found
No related tags found
No related merge requests found
......@@ -278,9 +278,7 @@ public:
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
......
......@@ -397,6 +397,10 @@ Register FastISel::getRegForGEPIndex(MVT PtrVT, const Value *Idx) {
return IdxN;
}
Register FastISel::getRegForGEPIndex(const Value *Idx) {
return getRegForGEPIndex(TLI.getPointerTy(DL), Idx);
}
void FastISel::recomputeInsertPt() {
if (getLastLocalValue()) {
FuncInfo.InsertPt = getLastLocalValue();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment