This is an archive of the discontinued LLVM Phabricator instance.

[LV] Fix PR34743 - handle casts that sink after interleaved loads
ClosedPublic

Authored by Ayal on Sep 27 2017, 4:24 PM.

Details

Summary

A load that participates in an interleaved group is effectively ignored when
vectorizing, if it is not the first load of the group. Make sure to properly move a
cast that needs to sink after such an ignored load.

Diff Detail

Repository
rL LLVM

Event Timeline

Ayal created this revision.Sep 27 2017, 4:24 PM

I confirm that patch fixes the mentioned PR but I'm not a good person to review this patch.

I would appreciate if this patch is reviewed and landed as soon as possible.

Special thanks to Ayal who provided a quick fix.

aemerson accepted this revision.Sep 28 2017, 6:33 AM

LGTM.

This revision is now accepted and ready to land.Sep 28 2017, 6:33 AM
This revision was automatically updated to reflect the committed changes.