diff options
| author | Chad Rosier <mcrosier@apple.com> | 2013-01-31 20:02:54 +0000 |
|---|---|---|
| committer | Chad Rosier <mcrosier@apple.com> | 2013-01-31 20:02:54 +0000 |
| commit | df782d222529e1ed1d81488a32ee8b5958225a12 (patch) | |
| tree | 65cff471cd75cf65846f4ffaa0f49a09a22f31ca /llvm/lib/Target/Mips/MipsRegisterInfo.h | |
| parent | afc1b12f0187247d2799b35af88d98c3d815e446 (diff) | |
| download | bcm5719-llvm-df782d222529e1ed1d81488a32ee8b5958225a12.tar.gz bcm5719-llvm-df782d222529e1ed1d81488a32ee8b5958225a12.zip | |
[PEI] Pass the frame index operand number to the eliminateFrameIndex function.
Each target implementation was needlessly recomputing the index.
Part of rdar://13076458
llvm-svn: 174083
Diffstat (limited to 'llvm/lib/Target/Mips/MipsRegisterInfo.h')
| -rw-r--r-- | llvm/lib/Target/Mips/MipsRegisterInfo.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/Target/Mips/MipsRegisterInfo.h b/llvm/lib/Target/Mips/MipsRegisterInfo.h index 032c2fd9729..13b2a6ac178 100644 --- a/llvm/lib/Target/Mips/MipsRegisterInfo.h +++ b/llvm/lib/Target/Mips/MipsRegisterInfo.h @@ -55,7 +55,8 @@ public: /// Stack Frame Processing Methods void eliminateFrameIndex(MachineBasicBlock::iterator II, - int SPAdj, RegScavenger *RS = NULL) const; + int SPAdj, unsigned FIOperandNum, + RegScavenger *RS = NULL) const; void processFunctionBeforeFrameFinalized(MachineFunction &MF) const; |

