[llvm-bugs] [Bug 47271] mem2reg / sroa can't handle select instruction

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Apr 9 15:05:50 PDT 2021


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

Roman Lebedev <lebedev.ri at gmail.com> changed:

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

--- Comment #3 from Roman Lebedev <lebedev.ri at gmail.com> ---
Fixed in 077bff39d46364035a5dcfa32fc69910ad0975d0.
The codegen for clamp_with_std_clamp() now matches one for
clamp_with_ternaries(), both matching gcc one.
I'm not sure if we can improve it to `clamp_with_stdmin_of_stdmax()` one.

-- 
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/20210409/128abe58/attachment-0001.html>


More information about the llvm-bugs mailing list