[all-commits] [llvm/llvm-project] d266fd: [IndVars] Remove exiting conditions that are trivi...
max-azul via All-commits
all-commits at lists.llvm.org
Mon Sep 28 21:36:01 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: d266fd960e73e2ebdcc194564fc2554ff629d12a
https://github.com/llvm/llvm-project/commit/d266fd960e73e2ebdcc194564fc2554ff629d12a
Author: Max Kazantsev <mkazantsev at azul.com>
Date: 2020-09-29 (Tue, 29 Sep 2020)
Changed paths:
M llvm/lib/Transforms/Scalar/IndVarSimplify.cpp
M llvm/test/Transforms/IndVarSimplify/eliminate-comparison.ll
Log Message:
-----------
[IndVars] Remove exiting conditions that are trivially true/false
When removing exiting loop conditions, we only consider checks for
which we know the exact exit count. We could also eliminate checks for
which the condition is always true/false.
Differential Revision: https://reviews.llvm.org/D87344
Reviewed By: lebedev.ri, reames
More information about the All-commits
mailing list