Page MenuHomePhabricator

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

Authored by ABataev on Thu, Apr 8, 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.Thu, Apr 8, 11:44 AM
ABataev requested review of this revision.Thu, Apr 8, 11:44 AM
Herald added a project: Restricted Project. · View Herald TranscriptThu, Apr 8, 11:44 AM
RKSimon accepted this revision.Thu, Apr 8, 1:58 PM

LGTM with one minor

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

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.Thu, Apr 8, 1:58 PM
This revision was automatically updated to reflect the committed changes.