Fix a corner case hit by redundant phi elimination running after LSR.
authorAndrew Trick <atrick@apple.com>
Sat, 14 Jan 2012 03:17:23 +0000 (03:17 +0000)
committerAndrew Trick <atrick@apple.com>
Sat, 14 Jan 2012 03:17:23 +0000 (03:17 +0000)
commitdd1f22f25d8496b10cfddedb63d674dd39897bb0
tree98df02490fb21506908dd0444ae5273e0916a0ad
parentda223448043e860d1f997b6a72f35c9d4da7ea29
Fix a corner case hit by redundant phi elimination running after LSR.

Fixes PR11761: bad IR w/ redundant Phi elim

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@148177 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Analysis/ScalarEvolutionExpander.cpp
test/Transforms/LoopStrengthReduce/X86/2012-01-13-phielim.ll [new file with mode: 0644]