From af9f4bc752292b3282f110c11aeb2a1ffb710bbf Mon Sep 17 00:00:00 2001 From: Jim Grosbach Date: Mon, 5 Mar 2012 21:09:58 +0000 Subject: [PATCH] ARM Remove a bit of dead code. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@152061 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/ARM/ARMInstrNEON.td | 9 --------- lib/Target/ARM/AsmParser/ARMAsmParser.cpp | 5 ----- 2 files changed, 14 deletions(-) diff --git a/lib/Target/ARM/ARMInstrNEON.td b/lib/Target/ARM/ARMInstrNEON.td index b0ab9941f96..1fa3979b3d3 100644 --- a/lib/Target/ARM/ARMInstrNEON.td +++ b/lib/Target/ARM/ARMInstrNEON.td @@ -89,15 +89,6 @@ def VecListOneD : RegisterOperand { let ParserMatchClass = VecListOneDAsmOperand; } // Register list of two sequential D registers. -def VecListTwoDAsmOperand : AsmOperandClass { - let Name = "VecListTwoD"; - let ParserMethod = "parseVectorList"; - let RenderMethod = "addVecListOperands"; -} -def VecListTwoD : RegisterOperand { - let ParserMatchClass = VecListTwoDAsmOperand; -} -// FIXME: Replace all VecListTwoD with VecListDPair def VecListDPairAsmOperand : AsmOperandClass { let Name = "VecListDPair"; let ParserMethod = "parseVectorList"; diff --git a/lib/Target/ARM/AsmParser/ARMAsmParser.cpp b/lib/Target/ARM/AsmParser/ARMAsmParser.cpp index 845f0a32996..b3e7e45b8c0 100644 --- a/lib/Target/ARM/AsmParser/ARMAsmParser.cpp +++ b/lib/Target/ARM/AsmParser/ARMAsmParser.cpp @@ -1085,11 +1085,6 @@ public: return VectorList.Count == 1; } - bool isVecListTwoD() const { - if (!isSingleSpacedVectorList()) return false; - return VectorList.Count == 2; - } - bool isVecListDPair() const { if (!isSingleSpacedVectorList()) return false; return (ARMMCRegisterClasses[ARM::DPairRegClassID]