aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Analysis/ModuleSummaryAnalysis.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@sifive.com>2024-09-06 15:50:29 -0700
committerGitHub <noreply@github.com>2024-09-06 15:50:29 -0700
commit49660e5565a3b4f1ec29d6c95b6d6576d398eaf1 (patch)
treedef22bdcc8b1834d2a664ee1439b389442d086fc /llvm/lib/Analysis/ModuleSummaryAnalysis.cpp
parent9700ca0a3067ced47de956b2c79781320cf7e708 (diff)
downloadllvm-49660e5565a3b4f1ec29d6c95b6d6576d398eaf1.zip
llvm-49660e5565a3b4f1ec29d6c95b6d6576d398eaf1.tar.gz
llvm-49660e5565a3b4f1ec29d6c95b6d6576d398eaf1.tar.bz2
[RISCV] Pass f32/f64 directly without a bitcast for Zfinx/Zdinx. (#107464)
With Zfinx/Zdinx, f32/f64 are legal types for a GPR, we don't need a bitcast. This avoids turning fneg/fabs into bitwise operations purely because of these bitcasts. If the bitwise operations are faster for some reason on a Zfinx CPU, then that seems like it should be done for all fneg/fabs, not just ones near function arguments/returns. I don't have much interest in Zfinx, this just makes the code more similar to what I proposed for Zhinx in #107446.
Diffstat (limited to 'llvm/lib/Analysis/ModuleSummaryAnalysis.cpp')
0 files changed, 0 insertions, 0 deletions