aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/ARM
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2013-11-09 22:48:13 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2013-11-09 22:48:13 +0000
commit1343fbcb7e00b12b63ae90b8c211c2d42416a74f (patch)
tree1072d21dd20299c66355047c4545b2a3b0073dae /lib/Target/ARM
parentf008d3465ea57849801cc6c71e64625f4a6d4bc4 (diff)
downloadexternal_llvm-1343fbcb7e00b12b63ae90b8c211c2d42416a74f.zip
external_llvm-1343fbcb7e00b12b63ae90b8c211c2d42416a74f.tar.gz
external_llvm-1343fbcb7e00b12b63ae90b8c211c2d42416a74f.tar.bz2
Remove some unnecessary temporary strings.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@194335 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/ARM')
-rw-r--r--lib/Target/ARM/AsmParser/ARMAsmParser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/ARM/AsmParser/ARMAsmParser.cpp b/lib/Target/ARM/AsmParser/ARMAsmParser.cpp
index c56fc9c..727bd26 100644
--- a/lib/Target/ARM/AsmParser/ARMAsmParser.cpp
+++ b/lib/Target/ARM/AsmParser/ARMAsmParser.cpp
@@ -3549,7 +3549,7 @@ parseInstSyncBarrierOptOperand(SmallVectorImpl<MCParsedAsmOperand*> &Operands) {
if (Tok.is(AsmToken::Identifier)) {
StringRef OptStr = Tok.getString();
- if (OptStr.lower() == "sy")
+ if (OptStr.equals_lower("sy"))
Opt = ARM_ISB::SY;
else
return MatchOperand_NoMatch;