Need to check that either Idx is UndefMaskElem and value is UndefValue
or Idx is valid and value is the same as the scalar value in the node.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D111802
[SLP]Fix PR52090: clang crashes: Assertion `Index < Length && "Invalid index!"' failed. ClosedPublic Authored by ABataev on Oct 14 2021, 6:42 AM.
Details Summary Need to check that either Idx is UndefMaskElem and value is UndefValue
Diff Detail
Event TimelineABataev retitled this revision from [LSP]Fix PR52090: clang crashes: Assertion `Index < Length && "Invalid index!"' failed. to [SLP]Fix PR52090: clang crashes: Assertion `Index < Length && "Invalid index!"' failed..Oct 14 2021, 6:44 AM This revision is now accepted and ready to land.Oct 14 2021, 7:03 AM Closed by commit rG414abff1fe8a: [SLP]Fix PR52090: clang crashes: Assertion `Index < Length && "Invalid index!"'… (authored by ABataev). · Explain WhyOct 14 2021, 2:28 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 379841 llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
llvm/test/Transforms/SLPVectorizer/X86/crash_undef_mask_elem.ll
|