This is an archive of the discontinued LLVM Phabricator instance.

Add additional criteria for hoisting vector.transfer_reads
ClosedPublic

Authored by harsh on May 12 2023, 11:39 AM.

Details

Summary

Non-subview uses of an alloc outside the current loop
can be safely ignored when considering hoisting vector
transfer_reads. This patch adds a condition to check for that
case and updates the unit test accordingly.

Diff Detail

Event Timeline

harsh created this revision.May 12 2023, 11:39 AM
Herald added a project: Restricted Project. · View Herald TranscriptMay 12 2023, 11:39 AM
harsh requested review of this revision.May 12 2023, 11:39 AM
ThomasRaoux accepted this revision.May 12 2023, 11:41 AM
This revision is now accepted and ready to land.May 12 2023, 11:41 AM
This revision was landed with ongoing or failed builds.May 12 2023, 11:56 AM
This revision was automatically updated to reflect the committed changes.