aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/ExtractAPI/API.cpp
diff options
context:
space:
mode:
authorPhilip Reames <preames@rivosinc.com>2022-08-19 10:37:39 -0700
committerPhilip Reames <listmail@philipreames.com>2022-08-19 10:37:39 -0700
commite7fda4630040127cf79249b80a0cd53642ab652d (patch)
tree8758fdf9a9592eb2a2fdcbfd9cd823d977a948a5 /clang/lib/ExtractAPI/API.cpp
parent5517401f936ab5cb9db001030f027293d44aac92 (diff)
downloadllvm-e7fda4630040127cf79249b80a0cd53642ab652d.zip
llvm-e7fda4630040127cf79249b80a0cd53642ab652d.tar.gz
llvm-e7fda4630040127cf79249b80a0cd53642ab652d.tar.bz2
[RISCV] Correct costs for vector ceil/floor/trunc/round
Add vector costs for ceil/floor/trunc/round. As can be seen in the tests, the prior default costs were a significant under estimate of the actual code generated. These costs are computed by simply generating code with the current backend, and then counting the number of instructions. I discount one vsetvli, and ignore the return. Differential Revision: https://reviews.llvm.org/D131967
Diffstat (limited to 'clang/lib/ExtractAPI/API.cpp')
0 files changed, 0 insertions, 0 deletions