This is an archive of the discontinued LLVM Phabricator instance.

[InterleaveAccessPass] Handle multi-use binop shuffles
ClosedPublic

Authored by dmgreen on Jul 9 2022, 4:01 AM.

Details

Summary

D89489 added some logic to the interleaved access pass to attempt to undo the folding of shuffles into binops, that instcombine performs. If early-cse is run too, the binops may be commoned into a single operation with multiple shuffle uses. It is still profitable reverse the transform though, so long as all the uses are shuffles.

Diff Detail

Event Timeline

dmgreen created this revision.Jul 9 2022, 4:01 AM
Herald added a project: Restricted Project. · View Herald TranscriptJul 9 2022, 4:01 AM
Herald added a subscriber: hiraditya. · View Herald Transcript
dmgreen requested review of this revision.Jul 9 2022, 4:01 AM
Herald added a project: Restricted Project. · View Herald TranscriptJul 9 2022, 4:01 AM
spatel accepted this revision.Jul 9 2022, 9:07 AM

LGTM

This revision is now accepted and ready to land.Jul 9 2022, 9:07 AM
This revision was landed with ongoing or failed builds.Jul 10 2022, 9:24 AM
This revision was automatically updated to reflect the committed changes.