From 07108c00afd098fee77a10f3b3fff555657a4b4b Mon Sep 17 00:00:00 2001 From: Craig Topper Date: Sat, 17 Oct 2015 18:22:46 +0000 Subject: [PATCH] Remove unnecessary 'const' pointed out by David Blaikie. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@250619 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/ARM/ARMExpandPseudoInsts.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Target/ARM/ARMExpandPseudoInsts.cpp b/lib/Target/ARM/ARMExpandPseudoInsts.cpp index 745fd3fcdf1..d2071ac87b7 100644 --- a/lib/Target/ARM/ARMExpandPseudoInsts.cpp +++ b/lib/Target/ARM/ARMExpandPseudoInsts.cpp @@ -340,8 +340,8 @@ static const NEONLdStTableEntry *LookupNEONLdSt(unsigned Opcode) { } #endif - const auto I = std::lower_bound(std::begin(NEONLdStTable), - std::end(NEONLdStTable), Opcode); + auto I = std::lower_bound(std::begin(NEONLdStTable), + std::end(NEONLdStTable), Opcode); if (I != std::end(NEONLdStTable) && I->PseudoOpc == Opcode) return I; return nullptr; -- 2.34.1