[NFC] Add assert and test showing that revert of D109596 wasn't justified
authorMax Kazantsev <mkazantsev@azul.com>
Mon, 20 Sep 2021 04:58:17 +0000 (11:58 +0700)
committerMax Kazantsev <mkazantsev@azul.com>
Mon, 20 Sep 2021 05:01:12 +0000 (12:01 +0700)
commite9d34c54290e277e075aed33036fddae77b5f582
tree7405c47d55b9239dd7ebc213805e3800b526f106
parent471217cff8e5c827f2ee52175a1c94584699cab2
[NFC] Add assert and test showing that revert of D109596 wasn't justified

All transforms of IndVars have prerequisite requirement of LCSSA and LoopSimplify
form and rely on it. Added test that shows that this actually stands.
llvm/lib/Transforms/Scalar/IndVarSimplify.cpp
llvm/test/Transforms/IndVarSimplify/eliminate-backedge.ll