The construction APIs for MachineIRBuilder don't make much sense, and
it's been annoying to sort through it with these trivial functions
separate from the declaration.
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
The construction APIs for MachineIRBuilder don't make much sense,
What exactly do you mean by this? I agree with the latter about these trivial methods getting in the way.
Comment Actions
See D81382. I also think it's a problem that RegBankSelect and other backend users need to construct their own single purpose builders, when the builder is supposed to be maintaining CSE state for example
Comment Actions
This is unfortunate. I haven't paid too much attention to RegBankSelect pass/APIs. Maybe we need to fix those as well.