[LLVMbugs] [Bug 19846] Non-trivial infinite while loops being optimized away
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Wed May 28 13:14:18 PDT 2014
http://llvm.org/bugs/show_bug.cgi?id=19846
Arnold Schwaighofer <aschwaighofer at apple.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |DUPLICATE
--- Comment #3 from Arnold Schwaighofer <aschwaighofer at apple.com> ---
This is a duplicate of PR 17288
(http://llvm.org/bugs/show_bug.cgi?id=17288#c6). I 'fixed' this for < i32 types
by promoting the induction variable.
The proper fix is to test that the backedge taken count is not UINT#MAX and
branch to the scalar loop if it is.
I'll follow up on there.
*** This bug has been marked as a duplicate of bug 17288 ***
--
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/20140528/b9bcfe5b/attachment.html>
More information about the llvm-bugs
mailing list