[PATCH] D44867: [Mips] Remove dead code

Wei-Ren Chen via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Mar 24 09:09:16 PDT 2018


chenwj created this revision.
chenwj added reviewers: ehostunreach, sdardis.
Herald added a subscriber: arichardson.

I believe the role of `ehDataReg` has been replaced by `MipsABIInfo::GetEhDataReg`, thus removing the dead code.


https://reviews.llvm.org/D44867

Files:
  lib/Target/Mips/MipsSEFrameLowering.h


Index: lib/Target/Mips/MipsSEFrameLowering.h
===================================================================
--- lib/Target/Mips/MipsSEFrameLowering.h
+++ lib/Target/Mips/MipsSEFrameLowering.h
@@ -40,7 +40,6 @@
 
   void determineCalleeSaves(MachineFunction &MF, BitVector &SavedRegs,
                             RegScavenger *RS) const override;
-  unsigned ehDataReg(unsigned I) const;
 
 private:
   void emitInterruptEpilogueStub(MachineFunction &MF,


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D44867.139714.patch
Type: text/x-patch
Size: 460 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180324/363f790b/attachment.bin>


More information about the llvm-commits mailing list