LSR should only reuse phis that match its formula.
authorAndrew Trick <atrick@apple.com>
Fri, 7 Oct 2011 23:46:21 +0000 (23:46 +0000)
committerAndrew Trick <atrick@apple.com>
Fri, 7 Oct 2011 23:46:21 +0000 (23:46 +0000)
commitc5701910604cdf65811fabd31d41e38f1d1d4eb1
tree87ebc36baa56af35d74481785773869df6290130
parent9eb6b4d91b83448ec818089754c74bbdcf7dfd7a
LSR should only reuse phis that match its formula.

Fixes rdar://problem/5064068

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