[all-commits] [llvm/llvm-project] 3b6ede: [SLP]Fix a crash when reorder masked gather nodes ...
Andrew V. Tischenko via All-commits
all-commits at lists.llvm.org
Thu Jun 23 11:33:34 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 3b6edef15d2718bd020db6515d670e87f21835af
https://github.com/llvm/llvm-project/commit/3b6edef15d2718bd020db6515d670e87f21835af
Author: Alexey Bataev <a.bataev at outlook.com>
Date: 2022-06-23 (Thu, 23 Jun 2022)
Changed paths:
M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
A llvm/test/Transforms/SLPVectorizer/X86/reorder-reused-masked-gather.ll
Log Message:
-----------
[SLP]Fix a crash when reorder masked gather nodes with reused scalars.
If the masked gather nodes must be reordered, we can just reorder
scalars, just like for gather nodes. But if the node contains reused
scalars, it must be handled same way as a regular vectorizable node,
since need to reorder reused mask, not the scalars directly.
Differential Revision: https://reviews.llvm.org/D128360
More information about the All-commits
mailing list