[llvm-bugs] [Bug 43040] riscv - error in backend: Cannot select: 0x55d7f7ff1300: f32 = fcopysign 0x55d7f7ff1c58, 0x55d7f7fe9fb8
via llvm-bugs
llvm-bugs at lists.llvm.org
Mon Aug 26 02:41:49 PDT 2019
https://bugs.llvm.org/show_bug.cgi?id=43040
Luís Marques <luis at luismarques.eu> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
CC| |luis at luismarques.eu
--- Comment #2 from Luís Marques <luis at luismarques.eu> ---
Thanks for the bug report Khem Raj. This problem was caused by the
implementation of the IEEE 754 copySign operation for RISC-V. The RISC-V
backend only natively supports doing sign copies where the magnitude and sign
operands have the same type. An optimization would remove the conversion of the
sign operand to the correct type, thus triggering the problem. A patch has been
posted for review that solves this problem: <https://reviews.llvm.org/D66725>.
Thanks again!
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20190826/19a2415b/attachment.html>
More information about the llvm-bugs
mailing list