diff options
author | Max Kazantsev <mkazantsev@azul.com> | 2023-01-11 11:12:11 +0700 |
---|---|---|
committer | Max Kazantsev <mkazantsev@azul.com> | 2023-01-11 11:36:02 +0700 |
commit | 9f37ecf8fae9a6fc87a216bee0c83d465e8466b4 (patch) | |
tree | 656ee0bb1cce1177e5ae896644033130485dd360 /llvm/lib/Transforms/Utils/ScalarEvolutionExpander.cpp | |
parent | 5c0facff1f14a32288ad0214be216f801e366ad7 (diff) | |
download | llvm-9f37ecf8fae9a6fc87a216bee0c83d465e8466b4.zip llvm-9f37ecf8fae9a6fc87a216bee0c83d465e8466b4.tar.gz llvm-9f37ecf8fae9a6fc87a216bee0c83d465e8466b4.tar.bz2 |
[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
Diffstat (limited to 'llvm/lib/Transforms/Utils/ScalarEvolutionExpander.cpp')
0 files changed, 0 insertions, 0 deletions