[LLVMbugs] [Bug 16130] clang produces incorrect code with loop/expression at -O2

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri May 31 00:24:42 PDT 2013


http://llvm.org/bugs/show_bug.cgi?id=16130

Andrew Trick <atrick at apple.com> changed:

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

--- Comment #12 from Andrew Trick <atrick at apple.com> ---
Fixed on trunk r182989.

I found a way to avoid the incorrect assumption about undefined behavior while
still optimizing the common case. Loop exits controlled by 'or' expressions
should now be optimized the same (conservative) way as loops with multiple
exits.

-- 
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/20130531/ab90f3d6/attachment.html>


More information about the llvm-bugs mailing list