[LIR] Re-instate r244880, reverted in r244884, factoring the handling of
authorChandler Carruth <chandlerc@gmail.com>
Fri, 14 Aug 2015 00:21:10 +0000 (00:21 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Fri, 14 Aug 2015 00:21:10 +0000 (00:21 +0000)
commit62b7c9cb848c8f48a40d2697015bdaba0c789fe7
treeb4ee58ae1e841b83b336e01e223de9ef562da833
parent5d09c2f25d766af6eff341545eca344beda55588
[LIR] Re-instate r244880, reverted in r244884, factoring the handling of
AliasAnalysis in LoopIdiomRecognize.

The previous commit to LIR, r244879, exposed some scary bug in the loop
pass pipeline with an assert failure that showed up on several bots.
This patch got reverted as part of getting that revision reverted, but
they're actually independent and unrelated. This patch has no functional
change and should be completely safe. It is also useful for my current
work on the AA infrastructure.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@244993 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/LoopIdiomRecognize.cpp