[all-commits] [llvm/llvm-project] 77efb7: [IndVars] Replace checks with invariants if we can...
max-azul via All-commits
all-commits at lists.llvm.org
Thu Nov 12 21:23:57 PST 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 77efb73c672762ce28cfff793db414ce05e3c46a
https://github.com/llvm/llvm-project/commit/77efb73c672762ce28cfff793db414ce05e3c46a
Author: Max Kazantsev <mkazantsev at azul.com>
Date: 2020-11-13 (Fri, 13 Nov 2020)
Changed paths:
M llvm/lib/Transforms/Scalar/IndVarSimplify.cpp
M llvm/test/Transforms/IndVarSimplify/predicated_ranges.ll
Log Message:
-----------
[IndVars] Replace checks with invariants if we cannot remove them
If we cannot prove that the check is trivially true, but can prove that it either
fails on the 1st iteration or never fails, we can replace it with first iteration check.
Differential Revision: https://reviews.llvm.org/D88527
Reviewed By: skatkov
More information about the All-commits
mailing list