[llvm-commits] [llvm] r166837 - in /llvm/trunk/lib/Target/Mips: MipsISelLowering.cpp MipsMachineFunction.h
Akira Hatanaka
ahatanaka at mips.com
Fri Oct 26 16:49:51 PDT 2012
Author: ahatanak
Date: Fri Oct 26 18:49:51 2012
New Revision: 166837
URL: http://llvm.org/viewvc/llvm-project?rev=166837&view=rev
Log:
Delete MipsFunctionInfo::InArgFIRange.
Modified:
llvm/trunk/lib/Target/Mips/MipsISelLowering.cpp
llvm/trunk/lib/Target/Mips/MipsMachineFunction.h
Modified: llvm/trunk/lib/Target/Mips/MipsISelLowering.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/Mips/MipsISelLowering.cpp?rev=166837&r1=166836&r2=166837&view=diff
==============================================================================
--- llvm/trunk/lib/Target/Mips/MipsISelLowering.cpp (original)
+++ llvm/trunk/lib/Target/Mips/MipsISelLowering.cpp Fri Oct 26 18:49:51 2012
@@ -3459,8 +3459,6 @@
}
}
- MipsFI->setLastInArgFI(LastFI);
-
// All stores are grouped in one node to allow the matching between
// the size of Ins and InVals. This only happens when on varg functions
if (!OutChains.empty()) {
Modified: llvm/trunk/lib/Target/Mips/MipsMachineFunction.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/Mips/MipsMachineFunction.h?rev=166837&r1=166836&r2=166837&view=diff
==============================================================================
--- llvm/trunk/lib/Target/Mips/MipsMachineFunction.h (original)
+++ llvm/trunk/lib/Target/Mips/MipsMachineFunction.h Fri Oct 26 18:49:51 2012
@@ -42,24 +42,14 @@
/// VarArgsFrameIndex - FrameIndex for start of varargs area.
int VarArgsFrameIndex;
- // Range of frame object indices.
- // InArgFIRange: Range of indices of all frame objects created during call to
- // LowerFormalArguments.
- std::pair<int, int> InArgFIRange;
-
bool EmitNOAT;
public:
MipsFunctionInfo(MachineFunction& MF)
: MF(MF), SRetReturnReg(0), GlobalBaseReg(0),
- VarArgsFrameIndex(0), InArgFIRange(std::make_pair(-1, 0)), EmitNOAT(false)
+ VarArgsFrameIndex(0), EmitNOAT(false)
{}
- bool isInArgFI(int FI) const {
- return FI <= InArgFIRange.first && FI >= InArgFIRange.second;
- }
- void setLastInArgFI(int FI) { InArgFIRange.second = FI; }
-
unsigned getSRetReturnReg() const { return SRetReturnReg; }
void setSRetReturnReg(unsigned Reg) { SRetReturnReg = Reg; }
More information about the llvm-commits
mailing list