This is an archive of the discontinued LLVM Phabricator instance.

[GlobalISel] Fold away G_BUILD_VECTOR with all elements extracted.
ClosedPublic

Authored by aemerson on Mar 3 2021, 3:00 PM.

Details

Summary

If every element is extracted from a G_BUILD_VECTOR, pass through the source registers. This is different to the extract(build_vector) combine because this one tolerates multiple users as long as they're exhaustive.

Diff Detail

Event Timeline

aemerson created this revision.Mar 3 2021, 3:00 PM
aemerson requested review of this revision.Mar 3 2021, 3:00 PM
paquette accepted this revision.Mar 3 2021, 5:17 PM

LGTM

This revision is now accepted and ready to land.Mar 3 2021, 5:17 PM
This revision was landed with ongoing or failed builds.Mar 9 2021, 11:34 AM
This revision was automatically updated to reflect the committed changes.