[llvm-bugs] [Bug 43310] Failed to combine -smax(-x, -y) to smin(x, y)

via llvm-bugs llvm-bugs at lists.llvm.org
Sun Sep 22 09:39:32 PDT 2019


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

Simon Pilgrim <llvm-dev at redking.me.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED

--- Comment #6 from Simon Pilgrim <llvm-dev at redking.me.uk> ---
(In reply to Sanjay Patel from comment #5)
> The scalar case should be fixed with:
> https://reviews.llvm.org/rL372510
> 
> I think the vector example in the godbolt link should be filed separately if
> that's a real concern. Whether vector math abides by C integer rules is a
> question for clang front-end, and I don't know the answer.

Thanks Sanjay, I've created [Bug #43399] to discuss the difference between
scalar/vector nsw/nuw tagging.

-- 
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/20190922/22801918/attachment.html>


More information about the llvm-bugs mailing list