This is an archive of the discontinued LLVM Phabricator instance.

[SLP]Fix PR49898: Infinite loop in SLP vectorizer.
ClosedPublic

Authored by ABataev on Apr 8 2021, 11:44 AM.

Details

Summary

We should not re-try attempt of finding of the consecutive store chain
if it was tried before.

Diff Detail

Event Timeline

ABataev created this revision.Apr 8 2021, 11:44 AM
ABataev requested review of this revision.Apr 8 2021, 11:44 AM
Herald added a project: Restricted Project. · View Herald TranscriptApr 8 2021, 11:44 AM
RKSimon accepted this revision.Apr 8 2021, 1:58 PM

LGTM with one minor

llvm/test/Transforms/SLPVectorizer/X86/several_store_chains.ll
4

Please can you add a comment mentioning PR49898 - its useful for keeping track in years to come...

This revision is now accepted and ready to land.Apr 8 2021, 1:58 PM
This revision was automatically updated to reflect the committed changes.