[PATCH] D99935: [AArch64] Add instruction costs for FP_TO_UINT and FP_TO_SINT with half types

David Sherwood via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 15 08:06:26 PDT 2021


david-arm updated this revision to Diff 337768.
david-arm added a comment.

- After private discussions with @sdesmalen we realised that some of these costs were wrong, so I went back and manually generated assembly for all cases and chose costs according to the number of instructions needed.


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

https://reviews.llvm.org/D99935

Files:
  llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
  llvm/test/Analysis/CostModel/AArch64/sve-fptoi.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D99935.337768.patch
Type: text/x-patch
Size: 25206 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210415/ca0deb6f/attachment.bin>


More information about the llvm-commits mailing list