aboutsummaryrefslogtreecommitdiff
path: root/lldb/packages/Python/lldbsuite/test/gdbclientutils.py
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@sifive.com>2024-09-11 22:31:45 -0700
committerGitHub <noreply@github.com>2024-09-11 22:31:45 -0700
commitde6d7a6c3093f725bec6980e925166f0f363687a (patch)
tree99e0fd8d478bb830bb7461b217674a292a3d335d /lldb/packages/Python/lldbsuite/test/gdbclientutils.py
parentb2e8b8fac031127ab513da6a6677f64c0a9ad2e4 (diff)
downloadllvm-de6d7a6c3093f725bec6980e925166f0f363687a.zip
llvm-de6d7a6c3093f725bec6980e925166f0f363687a.tar.gz
llvm-de6d7a6c3093f725bec6980e925166f0f363687a.tar.bz2
[RISCV] Expand Zfa fli+fneg cases during lowering instead of during isel. (#108316)
Most of the constants fli can generate are positive numbers. We can use fli+fneg to generate their negative versions. Previously, we considered such negative constants as "legal" and let isel generate the fli+fneg. However, it is useful to expose the fneg to DAG combines to fold with fadd to produce fsub or with fma to produce fnmadd, fnmsub, or fmsub. This patch moves the fneg creation to lowering so that the fneg will be visible to the last DAG combine. I might move the rest of Zfa handling from isel to lowering as a follow up. Fixes #107772.
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/gdbclientutils.py')
0 files changed, 0 insertions, 0 deletions