Page MenuHomePhabricator

[GlobalISel] Allow MachineIRBuilder to build subregister copies

Authored by aemerson on Mar 15 2019, 2:44 PM.



This relaxes some asserts about sizes, and adds an optional subreg parameter to buildCopy().

Also update AArch64 instruction selector to use this in places where we previously used MachineInstrBuilder manually.

Diff Detail

Event Timeline

aemerson created this revision.Mar 15 2019, 2:44 PM
This revision is now accepted and ready to land.Mar 15 2019, 2:48 PM
This revision was automatically updated to reflect the committed changes.