HomePhabricator

Make sub-registers index names case sensitive in the MIRParser

Authored by markus on May 9 2019, 1:29 AM.

Description

Make sub-registers index names case sensitive in the MIRParser

Prior to this change sub-register index names are assumed to be lower
case (but they are printed with original casing). This means that if a
target has some upper case characters in its sub-register names then
mir-export directly followed by mir-import is not possible. This also
means that sub-register indices currently are (and will continue to be)
slightly inconsistent with register names which are printed and assumed
to be lower case.

As the current textual representation of mir has a few inconsistencies
in this area it is a bit arbitrary how to address the matter. This
change is towards the direction that we feel is most correct (i.e. case
sensitivity).

Differential Revision: https://reviews.llvm.org/D61499

llvm-svn: 360318

Details

Committed
sidorovdMay 24 2019, 5:38 AM
Differential Revision
D61499: Make sub-registers index names case sensitive in the MIRParser
Parents
rGf42e692927ca: Bugfix for nullptr check by klocwork
Branches
Unknown
Tags
Unknown