[llvm-bugs] [Bug 810] Make better use of conditional unreachable's in LLVM

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Feb 14 13:33:37 PST 2020


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

Florian Hahn <florian_hahn at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |florian_hahn at apple.com
         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED

--- Comment #14 from Florian Hahn <florian_hahn at apple.com> ---
I think this has been addressed in general.

For the example code mentioned in the previous comment is optimised as expected
I think: https://godbolt.org/z/39cdJa

for test1 we generate a single comparison, and test2 is optimised to just call
f2().

Given that, I think we can close this issue. Apologies if I missed something
from the extensive discussion in the issue.

-- 
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/20200214/837e0eab/attachment.html>


More information about the llvm-bugs mailing list