Closed as not planned
Description
The following code snippet can be a source of crashes:
llvm-project/llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
Lines 5016 to 5019 in 4a890c2
when getPointersDiff
returns std::nullopt
. I see this problem recurring in a few other places in the file as well.