diff options
author | David Sherwood <david.sherwood@arm.com> | 2021-08-31 14:07:50 +0100 |
---|---|---|
committer | David Sherwood <david.sherwood@arm.com> | 2021-09-02 09:55:13 +0100 |
commit | d581d943858195f14863ee8f2a5050aafed883a2 (patch) | |
tree | f45cf92ce2b0f9d6828e2c75cb2dd23c2d99eb30 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | dfb7518df18ad420984f965ef5ccfb4e126d839b (diff) | |
download | llvm-d581d943858195f14863ee8f2a5050aafed883a2.zip llvm-d581d943858195f14863ee8f2a5050aafed883a2.tar.gz llvm-d581d943858195f14863ee8f2a5050aafed883a2.tar.bz2 |
[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
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions