Avoid duplicate code in Mips16FrameLowering and MipsSEFrameLowering by
providing an implementation of the eliminateCallFramePseudoInstr()
function from their base class.
Depends on D8640.
Paths
| Differential D8641
[mips] Implement eliminateCallFramePseudoInstr() in MipsFrameLowering. NFC. ClosedPublic Authored by vkalintiris on Mar 26 2015, 11:10 AM.
Details Summary Avoid duplicate code in Mips16FrameLowering and MipsSEFrameLowering by Depends on D8640.
Diff Detail Event Timelinevkalintiris retitled this revision from to [mips] Implement eliminateCallFramePseudoInstr() in MipsFrameLowering. NFC.. vkalintiris updated this object. vkalintiris added a parent revision: D8640: [mips] Expose adjustStackPtr() from MipsInstrInfo. NFC.. Comment Actions Random drive by comment. The rest LGTM. -eric
This revision is now accepted and ready to land.Mar 26 2015, 12:44 PM dsanders edited edge metadata. Comment ActionsWell spotted. LGTM
Closed by commit rL233909: [mips] Implement eliminateCallFramePseudoInstr() in MipsFrameLowering. NFC. (authored by vkalintiris). · Explain WhyApr 2 2015, 4:12 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 22743 lib/Target/Mips/Mips16FrameLowering.h
lib/Target/Mips/Mips16FrameLowering.cpp
lib/Target/Mips/MipsFrameLowering.h
lib/Target/Mips/MipsFrameLowering.cpp
lib/Target/Mips/MipsSEFrameLowering.h
lib/Target/Mips/MipsSEFrameLowering.cpp
|
Should probably get the ABI off of the TargetMachine. I'd like to (or someone should) remove the subtarget ones at some point and migrate everything to using TM for them.