This is an archive of the discontinued LLVM Phabricator instance.

[X86] Handle multiple use freeze(undef) in LowerAVXCONCAT_VECTORS as zero vectors
ClosedPublic

Authored by RKSimon on Apr 26 2023, 3:56 AM.

Details

Summary

Replacement for D144903

If we're concatenating freeze(undef) subvector ops with multiple uses then we can't treat them as a wider freeze(undef), but we can replace them with a zero subvector, which is cheap on AVX

Diff Detail

Event Timeline

RKSimon created this revision.Apr 26 2023, 3:56 AM
Herald added a project: Restricted Project. · View Herald TranscriptApr 26 2023, 3:56 AM
RKSimon requested review of this revision.Apr 26 2023, 3:56 AM
Herald added a project: Restricted Project. · View Herald TranscriptApr 26 2023, 3:56 AM
nikic accepted this revision.Apr 26 2023, 4:00 AM

LGTM

This revision is now accepted and ready to land.Apr 26 2023, 4:00 AM
This revision was landed with ongoing or failed builds.Apr 26 2023, 4:33 AM
This revision was automatically updated to reflect the committed changes.