Soon it will be disallowed to depend on MachineFunction state in the
constructor. This was only being used to get the MachineRegisterInfo
for an assert, which I'm not sure is necessarily worth it. I would
think any missing defs would be caught by the verifier later instead.
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
Thanks, @arsenm, looks fine to me. Do you have more context on why this change is necessary, though?