Revert "Revert "This patch builds on top of D13378 to handle constant condition.""
authorMehdi Amini <mehdi.amini@apple.com>
Wed, 7 Oct 2015 18:14:25 +0000 (18:14 +0000)
committerMehdi Amini <mehdi.amini@apple.com>
Wed, 7 Oct 2015 18:14:25 +0000 (18:14 +0000)
commit0ba01f2bb2f68b16a057ad9c41ec954e6179ff7b
tree6aec89e7a0d70f18eabf1c219544c2cf4a93abcf
parentb5f011715c96acb715f50c22dec467511c61db25
Revert "Revert "This patch builds on top of D13378 to handle constant condition.""

This reverts commit r249528 and reapply r249431. The fix for the
fallout has been commited in r249575.

From: Mehdi Amini <mehdi.amini@apple.com>

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@249581 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Analysis/ScalarEvolution.cpp
test/Analysis/ScalarEvolution/constant_condition.ll [new file with mode: 0644]