llvm-project
95703642 - [SLP]Fix PR72202: wrong mask emission for the first found vector

Commit
1 year ago
[SLP]Fix PR72202: wrong mask emission for the first found vector operand. Need to copy the submask not to the very first part of the common extractelements vector mask, but to the proper one to avoid wrong code emission.
Author
Committer
Parents
  • llvm
    • lib/Transforms/Vectorize
      • File
        SLPVectorizer.cpp
    • test/Transforms/SLPVectorizer/X86
      • extractelements-vector-ops-shuffle.ll