[llvm] r227883 - Remove dead code in the HexagonMCInst classes. This also fixes

Eric Christopher echristo at gmail.com
Mon Feb 2 14:40:53 PST 2015


Author: echristo
Date: Mon Feb  2 16:40:53 2015
New Revision: 227883

URL: http://llvm.org/viewvc/llvm-project?rev=227883&view=rev
Log:
Remove dead code in the HexagonMCInst classes. This also fixes
a layering violation in the port and removes calls to getSubtargetImpl.

Modified:
    llvm/trunk/lib/Target/Hexagon/MCTargetDesc/HexagonMCInst.cpp

Modified: llvm/trunk/lib/Target/Hexagon/MCTargetDesc/HexagonMCInst.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/Hexagon/MCTargetDesc/HexagonMCInst.cpp?rev=227883&r1=227882&r2=227883&view=diff
==============================================================================
--- llvm/trunk/lib/Target/Hexagon/MCTargetDesc/HexagonMCInst.cpp (original)
+++ llvm/trunk/lib/Target/Hexagon/MCTargetDesc/HexagonMCInst.cpp Mon Feb  2 16:40:53 2015
@@ -69,10 +69,6 @@ MCInstrDesc const &HexagonMCInst::getDes
   return (MCII->get(getOpcode()));
 }
 
-MCInstrDesc const &HexagonMCInst::getDesc() const {
-  return (MCII->get(getOpcode()));
-}
-
 // Return the Hexagon ISA class for the insn.
 unsigned HexagonMCInst::getType() const {
   const uint64_t F = getDesc().TSFlags;





More information about the llvm-commits mailing list