[all-commits] [llvm/llvm-project] b9aa15: [TTI][X86]Fix detection of the shuffles from the s...
Alexey Bataev via All-commits
all-commits at lists.llvm.org
Fri Dec 6 09:27:21 PST 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: b9aa155d26935c058449f4ac116201de000fd7bf
https://github.com/llvm/llvm-project/commit/b9aa155d26935c058449f4ac116201de000fd7bf
Author: Alexey Bataev <a.bataev at outlook.com>
Date: 2024-12-06 (Fri, 06 Dec 2024)
Changed paths:
M llvm/lib/Analysis/VectorUtils.cpp
M llvm/test/Analysis/CostModel/X86/shuffle-splat-codesize.ll
M llvm/test/Analysis/CostModel/X86/shuffle-splat-latency.ll
M llvm/test/Analysis/CostModel/X86/shuffle-splat-sizelatency.ll
M llvm/test/Analysis/CostModel/X86/shuffle-splat.ll
Log Message:
-----------
[TTI][X86]Fix detection of the shuffles from the second shuffle operand only
If the shuffle mask uses only indices from the second shuffle operand,
processShuffleMasks function misses it currently, which prevents correct
cost estimation in this corner case. To fix this, need to raise the
limit to 2 * VF rather than just VF and adjust processing
correspondingly. Will allow future improvements for 2 sources
permutations.
Reviewers: RKSimon
Reviewed By: RKSimon
Pull Request: https://github.com/llvm/llvm-project/pull/118972
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