[llvm] r250619 - Remove unnecessary 'const' pointed out by David Blaikie.

Craig Topper via llvm-commits llvm-commits at lists.llvm.org
Sat Oct 17 11:22:46 PDT 2015


Author: ctopper
Date: Sat Oct 17 13:22:46 2015
New Revision: 250619

URL: http://llvm.org/viewvc/llvm-project?rev=250619&view=rev
Log:
Remove unnecessary 'const' pointed out by David Blaikie.

Modified:
    llvm/trunk/lib/Target/ARM/ARMExpandPseudoInsts.cpp

Modified: llvm/trunk/lib/Target/ARM/ARMExpandPseudoInsts.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/ARM/ARMExpandPseudoInsts.cpp?rev=250619&r1=250618&r2=250619&view=diff
==============================================================================
--- llvm/trunk/lib/Target/ARM/ARMExpandPseudoInsts.cpp (original)
+++ llvm/trunk/lib/Target/ARM/ARMExpandPseudoInsts.cpp Sat Oct 17 13:22:46 2015
@@ -340,8 +340,8 @@ static const NEONLdStTableEntry *LookupN
   }
 #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;




More information about the llvm-commits mailing list