From 89eaa6f554c362799a86ca50bdbaab72402565d2 Mon Sep 17 00:00:00 2001 From: Jim Grosbach Date: Thu, 15 Mar 2012 23:00:30 +0000 Subject: [PATCH] Remove inadvertant commit. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@152870 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/ARM/AsmParser/x | 23 ----------------------- 1 file changed, 23 deletions(-) delete mode 100644 lib/Target/ARM/AsmParser/x diff --git a/lib/Target/ARM/AsmParser/x b/lib/Target/ARM/AsmParser/x deleted file mode 100644 index 1496e70647d..00000000000 --- a/lib/Target/ARM/AsmParser/x +++ /dev/null @@ -1,23 +0,0 @@ -diff --git a/lib/Target/ARM/AsmParser/ARMAsmParser.cpp b/lib/Target/ARM/AsmParser/ARMAsmParser.cpp -index af973e8..cbdae2a 100644 ---- a/lib/Target/ARM/AsmParser/ARMAsmParser.cpp -+++ b/lib/Target/ARM/AsmParser/ARMAsmParser.cpp -@@ -3254,7 +3254,8 @@ parseMSRMaskOperand(SmallVectorImpl &Operands) { - SMLoc S = Parser.getTok().getLoc(); - const AsmToken &Tok = Parser.getTok(); - assert(Tok.is(AsmToken::Identifier) && "Token is not an Identifier"); -- StringRef Mask = Tok.getString(); -+ std::string MaskStr = Tok.getString().lower(); -+ StringRef Mask = MaskStr; // convenience for slice() and such. - - if (isMClass()) { - // See ARMv6-M 10.1.1 -@@ -3290,7 +3291,7 @@ parseMSRMaskOperand(SmallVectorImpl &Operands) { - // Split spec_reg from flag, example: CPSR_sxf => "CPSR" and "sxf" - size_t Start = 0, Next = Mask.find('_'); - StringRef Flags = ""; -- std::string SpecReg = Mask.slice(Start, Next).lower(); -+ StringRef SpecReg = Mask.slice(Start, Next); - if (Next != StringRef::npos) - Flags = Mask.slice(Next+1, Mask.size()); -