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
markusMay 9 2019, 1:29 AM
Differential Revision
D61499: Make sub-registers index names case sensitive in the MIRParser
Parents
rGc05aad05324c: Bugfix for nullptr check by klocwork
Branches
Unknown
Tags
Unknown