As part of the unification of the debug format and the MIR format, always print 'noreg' as '_'.
Diff Detail
Diff Detail
Event Timeline
| lib/CodeGen/TargetRegisterInfo.cpp | ||
|---|---|---|
| 91 | I think noreg is clearer here. It's easier to search debug output for %noreg than _ | |
| lib/CodeGen/TargetRegisterInfo.cpp | ||
|---|---|---|
| 91 | As we already use both %noreg and _ in MIR, I think we should decide which one to use universally. I personally like _ because it is very easy to skip when reading/writing, but I agree that noreg is easier to search for. | |
| lib/CodeGen/TargetRegisterInfo.cpp | ||
|---|---|---|
| 91 | I agree with Matt, noreg is clearer here. | |
Comment Actions
By using printReg in r319445 we end up with %noreg, in MIR and -debug, and _ is also supported when parsing.
I think noreg is clearer here. It's easier to search debug output for %noreg than _