[LLVMbugs] [Bug 17714] Non-deterministic behavior when using LoopInfo pass in LLVM

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Oct 29 21:01:24 PDT 2013


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

Bill Wendling <isanbard at gmail.com> changed:

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

--- Comment #3 from Bill Wendling <isanbard at gmail.com> ---
I don't think that this is real non-deterministic behavior. What's happening is
that the memory for the loop analysis is sometimes being reused between
function passes. So the map is sometimes associating a basic block with the
address of a previous LoopInfo object.

For instance, if you iterate over the map and try to emit the LoopInfo object,
it will fail because that object is no longer in valid memory.

Anyway, it sucks, but this isn't an LLVM bug. :-(

-- 
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/20131030/9fbceedb/attachment.html>


More information about the llvm-bugs mailing list