Return "[IndVars] ICmpInst should not prevent IV widening"
authorMax Kazantsev <mkazantsev@azul.com>
Fri, 4 Dec 2020 04:59:07 +0000 (11:59 +0700)
committerMax Kazantsev <mkazantsev@azul.com>
Fri, 4 Dec 2020 05:34:43 +0000 (12:34 +0700)
commit12b6c5e68282be7beac597300cf90a9d6ae3e1dd
treeabb548d31b3fe4fdef4b0f203f4bb9efbd421777
parent3df0daceb2c684c8bd704595e70c08500bb051ed
Return "[IndVars] ICmpInst should not prevent IV widening"

This reverts commit 4bd35cdc3ae1874c6d070c5d410b3f591de54ee6.

The patch was reverted during the investigation. The investigation
shown that the patch did not cause any trouble, but just exposed
the existing problem that is addressed by the previous patch
"[IndVars] Quick fix LHS/RHS bug". Returning without changes.
llvm/lib/Transforms/Utils/SimplifyIndVar.cpp
llvm/test/Transforms/IndVarSimplify/widen-loop-comp.ll