[all-commits] [llvm/llvm-project] 9f37ec: [IndVars] Support AND/OR in optimizeLoopExitWithUn...
Max Kazantsev via All-commits
all-commits at lists.llvm.org
Tue Jan 10 20:36:17 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 9f37ecf8fae9a6fc87a216bee0c83d465e8466b4
https://github.com/llvm/llvm-project/commit/9f37ecf8fae9a6fc87a216bee0c83d465e8466b4
Author: Max Kazantsev <mkazantsev at azul.com>
Date: 2023-01-11 (Wed, 11 Jan 2023)
Changed paths:
M llvm/lib/Transforms/Scalar/IndVarSimplify.cpp
M llvm/test/Transforms/IndVarSimplify/eliminate-backedge.ll
M llvm/test/Transforms/IndVarSimplify/turn-to-invariant.ll
Log Message:
-----------
[IndVars] Support AND/OR in optimizeLoopExitWithUnknownExitCount
This patch allows optimizeLoopExitWithUnknownExitCount to deal with
branches by conditions that are not immediately ICmp's, but aggregates
of ICmp's joined by arithmetic or logical AND/OR. Each ICmp is optimized
independently.
Differential Revision: https://reviews.llvm.org/D139832
Reviewed By: nikic
More information about the All-commits
mailing list