This is an archive of the discontinued LLVM Phabricator instance.

[SLP] Fixes bug in ShuffleBuilder when duplicate entry already exists.
AbandonedPublic

Authored by vporpo on Jun 13 2023, 5:32 PM.

Details

Reviewers
ABataev
Summary

For more details please check out the lit test: X86/shufflebuilder-bug.ll.

@ABataev I am not sure this is the correct solution, but it seems to be fixing the bug.
Could you please take a look?

Diff Detail

Event Timeline

vporpo created this revision.Jun 13 2023, 5:32 PM
Herald added a project: Restricted Project. · View Herald TranscriptJun 13 2023, 5:32 PM
vporpo requested review of this revision.Jun 13 2023, 5:32 PM

Yeah, I doubt it is the right fix, most probably the bug is somewhere in the shuffles analysis for shuffleinstruction build. I'm on vacation, will be able to do more deep analysis in ~2 weeks. Or try to debug yourself, if you have time.

@abatev could you take a look when you have time?

vporpo abandoned this revision.Jul 10 2023, 8:35 AM

Ah nice, thanks!