Re-enable "[SCEV] Make computeExitLimit more simple and more powerful"
authorMax Kazantsev <max.kazantsev@azul.com>
Thu, 3 May 2018 02:37:55 +0000 (02:37 +0000)
committerMax Kazantsev <max.kazantsev@azul.com>
Thu, 3 May 2018 02:37:55 +0000 (02:37 +0000)
commit58fce7e54b50af99023b34a24992fc881ace77b6
treec09a8dc038f8db378c127b23fc74624dfd8cd2fe
parent437f66d06d68d000edd52547709ee8f19d0e499b
Re-enable "[SCEV] Make computeExitLimit more simple and more powerful"

This patch was temporarily reverted because it has exposed bug 37229 on
PowerPC platform. The bug is unrelated to the patch and was just a general
bug in the optimization done for PowerPC platform only. The bug was fixed
by the patch rL331410.

This patch returns the disabled commit since the bug was fixed.

llvm-svn: 331427
llvm/lib/Analysis/ScalarEvolution.cpp
llvm/test/Analysis/ScalarEvolution/exact_iter_count.ll
llvm/test/Transforms/LoopSimplify/preserve-scev.ll