aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/DFAPacketizer.cpp
diff options
context:
space:
mode:
authorAlexey Bataev <a.bataev@outlook.com>2024-04-07 09:51:47 -0400
committerGitHub <noreply@github.com>2024-04-07 09:51:47 -0400
commita61252419779a6d4a5ebf71e7e2fc4adc75cfddd (patch)
tree0e31b3299d6bf22909ff2ddaef0f49c95f5b850a /llvm/lib/CodeGen/DFAPacketizer.cpp
parent298f8f73e1d861f8b839477c6edc941ca994922d (diff)
downloadllvm-a61252419779a6d4a5ebf71e7e2fc4adc75cfddd.zip
llvm-a61252419779a6d4a5ebf71e7e2fc4adc75cfddd.tar.gz
llvm-a61252419779a6d4a5ebf71e7e2fc4adc75cfddd.tar.bz2
[SLP]Fix the cost of the reduction result to the final type.
Need to fix the way the cost is calculated, otherwise wrong cast opcode can be selected and lead to the over-optimistic vector cost. Plus, need to take into account reduction type size. Reviewers: RKSimon Reviewed By: RKSimon Pull Request: https://github.com/llvm/llvm-project/pull/87528
Diffstat (limited to 'llvm/lib/CodeGen/DFAPacketizer.cpp')
0 files changed, 0 insertions, 0 deletions