This is an archive of the discontinued LLVM Phabricator instance.

[CodeGen] Refactor ExpandBVWithShuffles. NFC.
AcceptedPublic

Authored by HanKuanChen on Nov 7 2022, 10:37 PM.

Details

Summary

Phase 0 is used to detect whether a vector_shuffle is supported. But we
can check a vector_shuffle is legal just before calling
getVectorShuffle.

Diff Detail

Event Timeline

HanKuanChen created this revision.Nov 7 2022, 10:37 PM
Herald added a project: Restricted Project. · View Herald TranscriptNov 7 2022, 10:37 PM
HanKuanChen requested review of this revision.Nov 7 2022, 10:37 PM
Herald added a project: Restricted Project. · View Herald TranscriptNov 7 2022, 10:37 PM
spatel accepted this revision.Nov 8 2022, 5:32 AM

LGTM - seems like a nice cleanup.

This revision is now accepted and ready to land.Nov 8 2022, 5:32 AM