[PATCH] D131967: [RISCV] Correct costs for vector ceil/floor/trunc/round

Philip Reames via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 16 11:42:45 PDT 2022


reames updated this revision to Diff 453081.
reames added a comment.

Two changes:

1. Fix the legalization cost Craig pointed out.
2. Fix a bug with struct types which can't be legalized.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D131967/new/

https://reviews.llvm.org/D131967

Files:
  llvm/lib/Target/RISCV/RISCVTargetTransformInfo.cpp
  llvm/test/Analysis/CostModel/RISCV/fround.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D131967.453081.patch
Type: text/x-patch
Size: 24628 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220816/f278725a/attachment.bin>


More information about the llvm-commits mailing list