aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorDavid Sherwood <david.sherwood@arm.com>2021-08-31 14:07:50 +0100
committerDavid Sherwood <david.sherwood@arm.com>2021-09-02 09:55:13 +0100
commitd581d943858195f14863ee8f2a5050aafed883a2 (patch)
treef45cf92ce2b0f9d6828e2c75cb2dd23c2d99eb30 /clang/lib/Frontend/CompilerInvocation.cpp
parentdfb7518df18ad420984f965ef5ccfb4e126d839b (diff)
downloadllvm-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