summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/ARM
diff options
context:
space:
mode:
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>2014-03-07 16:16:52 +0000
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>2014-03-07 16:16:52 +0000
commit29db0eb8554a91c060cd5c4d59d374974c2a715e (patch)
treef0f4580ff974c4926fe1f2e83f70d763faf5bdb1 /llvm/lib/Target/ARM
parentb2b8b1dc669c2a486e0841f6ac6aab6dc5cc6ec0 (diff)
downloadbcm5719-llvm-29db0eb8554a91c060cd5c4d59d374974c2a715e.tar.gz
bcm5719-llvm-29db0eb8554a91c060cd5c4d59d374974c2a715e.zip
ARM: Make .unreq directives case-insensitive
Be case-insensitive when processing .unreq directives. Patch by Lin Zuojian! llvm-svn: 203251
Diffstat (limited to 'llvm/lib/Target/ARM')
-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 7dc4d18a072..4b41a0dd0bb 100644
--- a/llvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp
+++ b/llvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp
@@ -8255,7 +8255,7 @@ bool ARMAsmParser::parseDirectiveUnreq(SMLoc L) {
Error(L, "unexpected input in .unreq directive.");
return false;
}
- RegisterReqs.erase(Parser.getTok().getIdentifier());
+ RegisterReqs.erase(Parser.getTok().getIdentifier().lower());
Parser.Lex(); // Eat the identifier.
return false;
}
OpenPOWER on IntegriCloud