[all-commits] [llvm/llvm-project] d581d9: [SVE] Fix the FP arithmetic instruction costs for SVE
david-arm via All-commits
all-commits at lists.llvm.org
Thu Sep 2 01:56:05 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: d581d943858195f14863ee8f2a5050aafed883a2
https://github.com/llvm/llvm-project/commit/d581d943858195f14863ee8f2a5050aafed883a2
Author: David Sherwood <david.sherwood at arm.com>
Date: 2021-09-02 (Thu, 02 Sep 2021)
Changed paths:
M llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
A llvm/test/Analysis/CostModel/AArch64/arith-fp-sve.ll
M llvm/test/Analysis/CostModel/AArch64/sve-intrinsics.ll
M llvm/test/Analysis/CostModel/AArch64/sve-math.ll
Log Message:
-----------
[SVE] Fix the FP arithmetic instruction costs for SVE
Several FP instructions (fadd, fsub, etc.) were incorrectly assigned
a higher cost for SVE because they have custom lowering, however we
know they are legal. This patch explicitly assigns a cost of 2 to
these opcodes.
Tests added here:
Analysis/CostModel/AArch64/arith-fp-sve.ll
Differential Revision: https://reviews.llvm.org/D108993
More information about the All-commits
mailing list