Need to check if the insertelement mask size is reached during cost analysis to avoid compiler crash.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp | ||
---|---|---|
6705–6706 | Is this any better? Mask[I] = ((I >= InMask.size()) || InMask.test(I)) ? UndefMaskElem : I; |
Is this any better?