HomePhabricator

[SCEV] Handle and/or in applyLoopGuards()

Authored by nikic on May 1 2021, 7:59 AM.

Description

[SCEV] Handle and/or in applyLoopGuards()

applyLoopGuards() already combines conditions from multiple nested
guards. However, it cannot use multiple conditions on the same guard,
combined using and/or. Add support for this by recursing into either
and or or, depending on the direction of the branch.

Differential Revision: https://reviews.llvm.org/D101692

Details

Committed
nikicMay 9 2021, 12:34 PM
Differential Revision
D101692: [SCEV] Handle and/or in applyLoopGuards()
Parents
rG2a08d7409bf9: [SCEV] Add additional loop guard and/or tests (NFC)
Branches
Unknown
Tags
Unknown