Vectorization of PHIs and stores very similar, it might be beneficial to
try to revectorize stores (like PHIs) if the total number of stores with
the same/alternate opcode is less than the vector size but number of
stores with the same type is larger than the vector size.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Unit Tests
Unit Tests
Time | Test | |
---|---|---|
10 ms | x64 debian > flang-OldUnit.Evaluate::intrinsics.test |
Event Timeline
Comment Actions
Split this into two unrelated parts? One for the tree building and the second one for the sequence vectorization.
llvm/test/Transforms/SLPVectorizer/X86/tiny-tree.ll | ||
---|---|---|
310–311 | Fix test name: not "gather" now. |
Comment Actions
No objections - @anton-afanasyev any comments ? By splitting did you mean pull out the NFC refactor of the PHI handling first and then add support for store groups?
Comment Actions
It's already splitted, the other part is commited. @ABataev, please remove relevant part from summary.
Fix test name: not "gather" now.