diff options
author | Philip Reames <preames@rivosinc.com> | 2024-08-29 09:45:47 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-29 09:45:47 -0700 |
commit | 59f05b683def5ef728baf8c4ae8f846e957ad67f (patch) | |
tree | efef5c26a25b2688b0db8661466267e53e300505 /clang/lib/CodeGen/CodeGenFunction.cpp | |
parent | bd6531b9508624df83f84d9bc687a7339df452e9 (diff) | |
download | llvm-59f05b683def5ef728baf8c4ae8f846e957ad67f.zip llvm-59f05b683def5ef728baf8c4ae8f846e957ad67f.tar.gz llvm-59f05b683def5ef728baf8c4ae8f846e957ad67f.tar.bz2 |
[RISCV][TTI] Model cost for insert/extract into illegal types (#106440)
We'd previously just deferred to the base implementation, but that more
or less always returns 1. This underestimates the cost of the
insert/extract, biases the SLP vectorizer towards forming illegally
typed vectors, and underestimates the cost of scalarized operations
(like unaligned scatter/gather).
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions