It's possible to have a single virtual register def with a subreg
index that would pass the previous check, but it's not possible to
have a subregister def in SSA.
This is in preparation for adding stricter checks for SSA MIR.
Differential D82763
MIR: Infer not-SSA for subregister defs Authored by arsenm on Jun 29 2020, 6:30 AM.
Details
Diff Detail Event Timeline
Comment Actions LGTM
| ||||||||||||||||||||||||
There is a MachineInstr *getUniqueVRegDef(Register Reg) const;. Maybe name this one getUniqueVRegDefOperand? Are they actually vreg-only?