Fix SCEVEXpander to handle arbitrary phi expansion. Includes two
authorAndrew Trick <atrick@apple.com>
Sat, 16 Jul 2011 00:59:39 +0000 (00:59 +0000)
committerAndrew Trick <atrick@apple.com>
Sat, 16 Jul 2011 00:59:39 +0000 (00:59 +0000)
commitd152d03a476b8d0d4b26577db26e2ba76034b0f3
tree646a8a651816a75c88dd9dcab4316ff42a3e000b
parent4201ecae928e8503ffe7d53f11e3e8745fd28fe2
Fix SCEVEXpander to handle arbitrary phi expansion. Includes two
related bug fixes and corresponding assertions for uninitialized data
and missing NULL check. Test cases will be included with the new LFTR.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@135333 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Analysis/ScalarEvolutionExpander.h
lib/Analysis/ScalarEvolutionExpander.cpp