projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
db0def4
)
Remove unnecessary 'const' pointed out by David Blaikie.
author
Craig Topper
<craig.topper@gmail.com>
Sat, 17 Oct 2015 18:22:46 +0000
(18:22 +0000)
committer
Craig Topper
<craig.topper@gmail.com>
Sat, 17 Oct 2015 18:22:46 +0000
(18:22 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@250619
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/ARM/ARMExpandPseudoInsts.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/ARM/ARMExpandPseudoInsts.cpp
b/lib/Target/ARM/ARMExpandPseudoInsts.cpp
index 745fd3fcdf1ddfebd808c1051cf325aed00d401c..d2071ac87b7f7c7bec5c996bec430ce876da034e 100644
(file)
--- 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;