[all-commits] [llvm/llvm-project] 3a30d8: [SLP]Check if masked gather can be emitted as a se...
Alexey Bataev via All-commits
all-commits at lists.llvm.org
Fri Mar 1 10:49:41 PST 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 3a30d8e9e59c152caec7abc5cf5437b21cac428e
https://github.com/llvm/llvm-project/commit/3a30d8e9e59c152caec7abc5cf5437b21cac428e
Author: Alexey Bataev <5361294+alexey-bataev at users.noreply.github.com>
Date: 2024-03-01 (Fri, 01 Mar 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
M llvm/test/Transforms/SLPVectorizer/X86/scatter-vectorize-reused-pointer.ll
Log Message:
-----------
[SLP]Check if masked gather can be emitted as a serie of loads/insert subvector.
Masked gather is very expensive operation and sometimes better to
represent it as a serie of consecutive/strided loads + insertsubvectors
sequences. Patch adds some basic estimation and if loads+insertsubvector
is cheaper, decides to represent it in this way rather than masked
gather.
Reviewers: RKSimon
Reviewed By: RKSimon
Pull Request: https://github.com/llvm/llvm-project/pull/83481
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list