Move the memoization check for SCEVSignExtendExpr and
authorDan Gohman <gohman@apple.com>
Mon, 13 Jul 2009 20:55:53 +0000 (20:55 +0000)
committerDan Gohman <gohman@apple.com>
Mon, 13 Jul 2009 20:55:53 +0000 (20:55 +0000)
commit69fbc7f477c21ce1d8ae5a4aa8a701e47aa2d163
treee8084aed71378b07f8ba977bf1586e588ab52a57
parent7e25d45cfb3572a98aac364ee74dbc4d108ebeb7
Move the memoization check for SCEVSignExtendExpr and
SCEVZeroExtendExpr ahead of the most expensive analysis. This
speeds up analysis and helps avoid pathologically bad behavior
on the testcase in PR4534.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75496 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Analysis/ScalarEvolution.cpp