[PATCH] D121771: [RISCV] Add basic cost model for vector casting
Yeting Kuo via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Mar 17 04:04:53 PDT 2022
fakepaper56 updated this revision to Diff 416131.
fakepaper56 added a comment.
Change the approach of cost model to caculate the vector casting counts.
I don't consider vsetvli in this patch, but it may cause the cost not accurated
for multiple conversioin.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D121771/new/
https://reviews.llvm.org/D121771
Files:
llvm/lib/Target/RISCV/RISCVTargetTransformInfo.cpp
llvm/lib/Target/RISCV/RISCVTargetTransformInfo.h
llvm/test/Analysis/CostModel/RISCV/cast.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D121771.416131.patch
Type: text/x-patch
Size: 29757 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220317/afe03038/attachment.bin>
More information about the llvm-commits
mailing list