diff options
author | Alexey Bataev <a.bataev@outlook.com> | 2024-04-07 09:51:47 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-07 09:51:47 -0400 |
commit | a61252419779a6d4a5ebf71e7e2fc4adc75cfddd (patch) | |
tree | 0e31b3299d6bf22909ff2ddaef0f49c95f5b850a /llvm/lib/CodeGen/DFAPacketizer.cpp | |
parent | 298f8f73e1d861f8b839477c6edc941ca994922d (diff) | |
download | llvm-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