summaryrefslogtreecommitdiffstats
path: root/llvm/test/Analysis/ScalarEvolution/scev-invalid.ll
Commit message (Collapse)AuthorAgeFilesLines
* Fix SCEV forgetMemoizedResults should search and destroy backedge exprs.Andrew Trick2013-03-261-0/+34
Fixes PR15570: SEGV: SCEV back-edge info invalid after dead code removal. 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. llvm-svn: 177986
OpenPOWER on IntegriCloud