[PATCH] D61499: Make sub-registers index names case sensitive in the MIRParser

Markus Lavin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu May 9 01:27:17 PDT 2019


This revision was automatically updated to reflect the committed changes.
Closed by commit rL360318: Make sub-registers index names case sensitive in the MIRParser (authored by markus, committed by ).

Changed prior to commit:
  https://reviews.llvm.org/D61499?vs=197974&id=198774#toc

Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D61499/new/

https://reviews.llvm.org/D61499

Files:
  llvm/trunk/lib/CodeGen/MIRParser/MIParser.cpp


Index: llvm/trunk/lib/CodeGen/MIRParser/MIParser.cpp
===================================================================
--- llvm/trunk/lib/CodeGen/MIRParser/MIParser.cpp
+++ llvm/trunk/lib/CodeGen/MIRParser/MIParser.cpp
@@ -176,7 +176,7 @@
   const TargetRegisterInfo *TRI = Subtarget.getRegisterInfo();
   for (unsigned I = 1, E = TRI->getNumSubRegIndices(); I < E; ++I)
     Names2SubRegIndices.insert(
-        std::make_pair(StringRef(TRI->getSubRegIndexName(I)).lower(), I));
+        std::make_pair(TRI->getSubRegIndexName(I), I));
 }
 
 unsigned PerTargetMIParsingState::getSubRegIndex(StringRef Name) {


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D61499.198774.patch
Type: text/x-patch
Size: 612 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190509/627c40af/attachment.bin>


More information about the llvm-commits mailing list