[LLVMbugs] [Bug 15570] SEGV: SCEV back-edge info invalid after dead code removal.

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Mar 25 21:20:35 PDT 2013


Andrew Trick <atrick at apple.com> changed:

           What    |Removed                     |Added
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
           Assignee|unassignedbugs at nondot.org   |atrick at apple.com

--- Comment #6 from Andrew Trick <atrick at apple.com> ---
trunk at 177986

Fix SCEV forgetMemoizedResults should search and destroy backedge exprs.

    Indvars creates a SCEV expression for the loop's back edge taken
    count, then determines that the comparison is always true and
    removes it.

    When loop-unroll asks for the expression, it contains a NULL
    SCEVUnknkown (as a CallbackVH).

    forgetMemoizedResults should invalidate the loop back edges expression.

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/20130326/3474ee17/attachment.html>

More information about the llvm-bugs mailing list