Simplify away some trivial predicates. See test_loop_rotation.cpp for examples of what is removed. In the future, as the expr simplifier continues to improve, we should be able to remove functions like canOmitStopPredicate, or even remove the predicate elimination pass completely.
Simplify away some trivial predicates. See
test_loop_rotation.cpp
for examples of what is removed. In the future, as the expr simplifier continues to improve, we should be able to remove functions likecanOmitStopPredicate
, or even remove the predicate elimination pass completely.~This PR is stacked on https://github.com/csarofeen/pytorch/pull/2533, please read that first.~