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 recursion into either and or or, depending on the direction of the branch.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
LGTM, thanks! I think it might be good to also test some combinations with 2 chained ANDs/ORs and perhaps AND/OR mixed, but perhaps I missed something like that.