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?
Paths
| Differential D152871
[SLP] Fixes bug in ShuffleBuilder when duplicate entry already exists. AbandonedPublic Authored by vporpo on Jun 13 2023, 5:32 PM.
Details
Diff Detail
Event TimelineComment Actions 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.
Revision Contents
Diff 531124 llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
llvm/test/Transforms/SLPVectorizer/X86/shufflebuilder-bug.ll
|