[PATCH] D82458: [ARM] Adjust default fp extend and trunc costs
Dave Green via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jun 24 05:54:51 PDT 2020
dmgreen created this revision.
dmgreen added reviewers: samparker, SjoerdMeijer, efriedma, ostannard.
Herald added subscribers: danielkiss, hiraditya, kristof.beyls.
Herald added a project: LLVM.
This adds some default costs for fp extends and truncates, generally costing them as 1 per lane. If the type is not legal then the cost will include a call to an __aeabi_ function.
Some NEON code is also adjusted to make sure it applies to the expected types, now that fp16 is a more common thing.
https://reviews.llvm.org/D82458
Files:
llvm/lib/Target/ARM/ARMTargetTransformInfo.cpp
llvm/test/Analysis/CostModel/ARM/cast.ll
llvm/test/Analysis/CostModel/ARM/cast_ldst.ll
More information about the llvm-commits
mailing list