[all-commits] [llvm/llvm-project] 12bcd6: [SLP]Improve detection of gathered loads, if no ot...
Alexey Bataev via All-commits
all-commits at lists.llvm.org
Wed Nov 22 11:39:42 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 12bcd6339d36ab4d3f7b0010a2df87ec81bec986
https://github.com/llvm/llvm-project/commit/12bcd6339d36ab4d3f7b0010a2df87ec81bec986
Author: Alexey Bataev <a.bataev at outlook.com>
Date: 2023-11-22 (Wed, 22 Nov 2023)
Changed paths:
M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
M llvm/test/Transforms/SLPVectorizer/X86/remark-partial-loads-vectorize.ll
Log Message:
-----------
[SLP]Improve detection of gathered loads, if no other deps are detected.
If the gather node includes ordered loads only partially (not the whole
node consists of loads) and the other gathered scalar are not loads, and
no other dependency from other nodes is found, we still can improve the
cost of gather, if take into account the fact that these loads still can
be vectorized.
More information about the All-commits
mailing list