This is an archive of the discontinued LLVM Phabricator instance.

GlobalISel: Revisit users of other merge opcodes in artifact combiner
ClosedPublic

Authored by arsenm on Aug 17 2020, 5:25 AM.

Details

Summary

The artifact combiner searches for the uses of G_MERGE_VALUES for
unmerge/trunc that need further combining. This also needs to handle
the vector merge opcodes the same way. This fixes leaving behind some
pairs I expected to be removed, that were if the legalizer is run a
second time.

Diff Detail

Event Timeline

arsenm created this revision.Aug 17 2020, 5:25 AM
Herald added a project: Restricted Project. · View Herald TranscriptAug 17 2020, 5:25 AM
arsenm requested review of this revision.Aug 17 2020, 5:25 AM
This revision is now accepted and ready to land.Aug 17 2020, 10:33 AM