Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
Hi Matthias,
LGTM, although in the long run I would rather not have to write %subreg. but this is for another time when we actually make the parser a bit smarter.
Cheers,
-Quentin
Comment Actions
The alternatives "subregname" or "%subregname" had the problem that they can clash with the name of a global or a register. So for now I chose something unambiguous.
Comment Actions
Agreed, you did the right thing :).
For now, we didn’t have further options. I was more thinking like when we will merge the MachineInstr dumps and MIR. One of my goal is to have the MIR input to be as user-friendly as possible, even if in that case that means that the parser needs to be aware that the third operand of INSERT_SUBREG is a subreg.