[PATCH] D94260: [ARM] Update trunc costs
Dave Green via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jan 7 13:28:27 PST 2021
dmgreen created this revision.
dmgreen added reviewers: SjoerdMeijer, samtebbs, ostannard, simon_tatham.
Herald added subscribers: danielkiss, hiraditya, kristof.beyls.
dmgreen requested review of this revision.
Herald added a project: LLVM.
We did not have specific costs for larger than legal truncates that were not otherwise cheap (where they were next to stores, for example). As MVE does not have a dedicated instruction for them (and we do not use loads/stores yet), they should be expensive as they get expanded to a series of lane moves.
https://reviews.llvm.org/D94260
Files:
llvm/lib/Target/ARM/ARMTargetTransformInfo.cpp
llvm/test/Analysis/CostModel/ARM/arith-overflow.ll
llvm/test/Analysis/CostModel/ARM/cast.ll
llvm/test/Analysis/CostModel/ARM/mve-gather-scatter-cost.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D94260.315225.patch
Type: text/x-patch
Size: 21425 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210107/51dcc112/attachment.bin>
More information about the llvm-commits
mailing list