Return "[IndVars] Remove monotonic checks with unknown exit count"
authorMax Kazantsev <mkazantsev@azul.com>
Wed, 28 Oct 2020 10:37:20 +0000 (17:37 +0700)
committerMax Kazantsev <mkazantsev@azul.com>
Wed, 28 Oct 2020 11:51:40 +0000 (18:51 +0700)
commit160a453138429f5e389de877fd02db2bb7dc6765
treee725ab0efea2dbdfdd1c770773a10f48f2dccec2
parentd4934eb5f876cdc97a9a8665bd654351fbbcb66b
Return "[IndVars] Remove monotonic checks with unknown exit count"

This reverts commit e038b60d9169733367393f733058f0ff23c28d3f.
This reverts commit a0d84d80315d0c725b5efcd889928bad1171ba56.

This revert was a mistake. The reason of the failures was
"Use uint64_t for branch weights instead of uint32_t"

Differential Revision: https://reviews.llvm.org/D87832
llvm/include/llvm/Analysis/ScalarEvolution.h
llvm/lib/Analysis/ScalarEvolution.cpp
llvm/lib/Transforms/Scalar/IndVarSimplify.cpp
llvm/test/Transforms/IndVarSimplify/monotonic_checks.ll
llvm/test/Transforms/IndVarSimplify/predicated_ranges.ll