Fix disabled SCEV analysis caused r141161 and add unit test.
authorAndrew Trick <atrick@apple.com>
Wed, 5 Oct 2011 05:58:49 +0000 (05:58 +0000)
committerAndrew Trick <atrick@apple.com>
Wed, 5 Oct 2011 05:58:49 +0000 (05:58 +0000)
commit28ab7db2c3d71bbd1d55bccef6efac338dc9297c
treee95dcf41f0caead9af4b6366d220247a02b214ec
parentce4984f86e910575e2bc7045189218466e00c93a
Fix disabled SCEV analysis caused r141161 and add unit test.

I noticed during self-review that my previous checkin disabled some
analysis. Even with the reenabled analysis the test case runs in about
5ms. Without the fix, it will take several minutes at least.

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