[all-commits] [llvm/llvm-project] 57ca65: [AArch64] Add instruction costs for FP_TO_UINT and...
david-arm via All-commits
all-commits at lists.llvm.org
Wed Apr 21 01:40:16 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 57ca65e21e9a48040e929a506a259ee2e4b42088
https://github.com/llvm/llvm-project/commit/57ca65e21e9a48040e929a506a259ee2e4b42088
Author: David Sherwood <david.sherwood at arm.com>
Date: 2021-04-21 (Wed, 21 Apr 2021)
Changed paths:
M llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
M llvm/test/Analysis/CostModel/AArch64/sve-fptoi.ll
Log Message:
-----------
[AArch64] Add instruction costs for FP_TO_UINT and FP_TO_SINT with half types
We were missing some instruction costs when converting vectors of
floating point half types into integers, so I've added those here.
I also manually generated assembly code for each FP->int case and
looked at the number of instructions generated, which meant
adjusting some of the existing costs too.
I've updated an existing test to reflect the new costs:
Analysis/CostModel/AArch64/sve-fptoi.ll
Differential Revision: https://reviews.llvm.org/D99935
More information about the All-commits
mailing list