LSR fix: add a missing phi check during IV hoisting.
authorAndrew Trick <atrick@apple.com>
Tue, 22 May 2012 17:39:59 +0000 (17:39 +0000)
committerAndrew Trick <atrick@apple.com>
Tue, 22 May 2012 17:39:59 +0000 (17:39 +0000)
commit3de8ad8bf9081fcb7ec0600fd2a8d1ce809f556d
treea49e2f9d56a995a8f8b37c6a4fdcfdf39d3369b3
parent5c525b59d5e0036a778d278eeff4832edfd41357
LSR fix: add a missing phi check during IV hoisting.

Fixes PR12898: SCEVExpander crash.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@157263 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Analysis/ScalarEvolutionExpander.cpp
test/Transforms/LoopStrengthReduce/X86/2012-01-13-phielim.ll