This is an archive of the discontinued LLVM Phabricator instance.

[SLP]Do not try to generate ScatterVectorize if it will be scalarized.
ClosedPublic

Authored by ABataev on May 25 2022, 7:23 AM.

Details

Summary

SLP should build ScatterVectorize nodes only if they actually end up
with masked gather rather than with scalarization. In the second
scenario better to build a gather node.

Diff Detail

Event Timeline

ABataev created this revision.May 25 2022, 7:23 AM
Herald added a project: Restricted Project. · View Herald TranscriptMay 25 2022, 7:23 AM
Herald added a subscriber: hiraditya. · View Herald Transcript
ABataev requested review of this revision.May 25 2022, 7:23 AM
Herald added a project: Restricted Project. · View Herald TranscriptMay 25 2022, 7:23 AM
RKSimon accepted this revision.May 25 2022, 1:33 PM

LGTM

This revision is now accepted and ready to land.May 25 2022, 1:33 PM
This revision was landed with ongoing or failed builds.May 25 2022, 2:26 PM
This revision was automatically updated to reflect the committed changes.