Displaying 1 result from an estimated 1 matches for "initnames2reg".
Did you mean:
initnames2regs
2019 Apr 11
2
Upper case vs lower case in printed and parsed MIR
...docs/MIRLangRef.html it is stated that instruction names are case sensitive.
For register names it appear that they are lower cased before printing (see printReg in TargetRegisterInfo.cpp) and to match the definitions are also lower cased before loaded into the parser (see PerTargetMIParsingState::initNames2Regs in MIParser.cpp). For sub-register index names the latter happens but they are currently printed with their original casing witch leads to our problem.
What is the right solution here, should they be lower cased when printing as well (as I tried to do in https://reviews.llvm.org/D60311)?
To me i...