Instead of explicitely comparing both lowercase and uppercase variants.
authorRoman Divacky <rdivacky@freebsd.org>
Thu, 18 Dec 2014 23:12:34 +0000 (23:12 +0000)
committerRoman Divacky <rdivacky@freebsd.org>
Thu, 18 Dec 2014 23:12:34 +0000 (23:12 +0000)
commita93d0023214191ae6b4bc7b950e437fc92a95c96
tree198b414bb7d5bd68409435eea9bf53fb38254679
parentda0acc816c18d18223af64f10590f298c006d581
Instead of explicitely comparing both lowercase and uppercase variants.
.lower() the Name and compare only the lowecase. Removing 81 compares/lines of
code. This changes the accepted string to be mixed lower/upper case but it
should be ok.

Discussed with Jim Grosbach.

llvm-svn: 224547
llvm/lib/MC/MCExpr.cpp