This is an archive of the discontinued LLVM Phabricator instance.

[GlobalISel] Allow MachineIRBuilder to build subregister copies
ClosedPublic

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

Details

Summary

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

Repository
rL LLVM

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.