[llvm-bugs] [Bug 34623] Folding of select breaks min/max

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Sep 15 07:48:19 PDT 2017


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

Sanjay Patel <spatel+llvm at rotateright.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |WORKSFORME
                 CC|                            |spatel+llvm at rotateright.com

--- Comment #1 from Sanjay Patel <spatel+llvm at rotateright.com> ---
I don't see this bug on trunk; tested with:

$ ./clang -v
clang version 6.0.0 (trunk 313258)
Target: x86_64-apple-darwin16.7.0

$ ./clang -O2 -mavx2 castmax.ll -S -o - |grep minsd

        vpminsd %ymm1, %ymm0, %ymm0

Looks fixed in the clang 5.0 release as well:
https://godbolt.org/g/zXGhL4

-- 
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/20170915/d27ebea7/attachment.html>


More information about the llvm-bugs mailing list