[llvm-bugs] [Bug 30451] Atomicrmw min i16 produces wrong result on PowerPC

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Jan 4 19:54:51 PST 2021


https://bugs.llvm.org/show_bug.cgi?id=30451

Nemanja Ivanovic <nemanja.i.ibm at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|INVALID                     |---
             Status|RESOLVED                    |REOPENED

--- Comment #16 from Nemanja Ivanovic <nemanja.i.ibm at gmail.com> ---
Ah, ok. I missed that the min/max instructions are signed comparisons. I
assumed that signed min would be smin and unsigned min would be umin.

Thank you for pointing that out, I'll fix the code gen for that

-- 
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/20210105/019b5b6e/attachment.html>


More information about the llvm-bugs mailing list