diff options
author | Nemanja Ivanovic <nemanja.i.ibm@gmail.com> | 2023-11-13 07:38:14 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-13 07:38:14 +0100 |
commit | 563720c3bed42a9ce042ba3f334793b5b4373acf (patch) | |
tree | a210b82c94e5fb4abd8dae1bb394d6eccebb2fba /llvm/unittests/Support/CommandLineTest.cpp | |
parent | 858453dd71e03f2a96e2041ee9f22227da66ac98 (diff) | |
download | llvm-563720c3bed42a9ce042ba3f334793b5b4373acf.zip llvm-563720c3bed42a9ce042ba3f334793b5b4373acf.tar.gz llvm-563720c3bed42a9ce042ba3f334793b5b4373acf.tar.bz2 |
[RISCV] Fix lowering of negative zero with Zdinx 32-bit (#71869)
The compiler currently abends with an impossible reg-to-reg copy when
producing a negative zero FP immediate on RV32 with -Zdinx. This is
because we emit a negation that uses FP registers. Emit the right node
to produce correct code.
Diffstat (limited to 'llvm/unittests/Support/CommandLineTest.cpp')
0 files changed, 0 insertions, 0 deletions