summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp
diff options
context:
space:
mode:
authorTim Northover <tnorthover@apple.com>2013-05-31 15:58:45 +0000
committerTim Northover <tnorthover@apple.com>2013-05-31 15:58:45 +0000
commit4d14144024856634516811ff25f6200e0d947275 (patch)
treed6b31fedc19c215c4f560de4aed47655c5789ea0 /llvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp
parent4173e29a98b4f1be42fef913712277a9cdff87f2 (diff)
downloadbcm5719-llvm-4d14144024856634516811ff25f6200e0d947275.tar.gz
bcm5719-llvm-4d14144024856634516811ff25f6200e0d947275.zip
ARM: permit upper-case BE/LE on setend instruction
Patch by Amaury de la Vieuville. llvm-svn: 183012
Diffstat (limited to 'llvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp')
-rw-r--r--llvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp b/llvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp
index 9fa389ab2c1..c2871502283 100644
--- a/llvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp
+++ b/llvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp
@@ -3624,7 +3624,7 @@ parseSetEndImm(SmallVectorImpl<MCParsedAsmOperand*> &Operands) {
Error(S, "'be' or 'le' operand expected");
return MatchOperand_ParseFail;
}
- int Val = StringSwitch<int>(Tok.getString())
+ int Val = StringSwitch<int>(Tok.getString().lower())
.Case("be", 1)
.Case("le", 0)
.Default(-1);
OpenPOWER on IntegriCloud