Merge pull request #15980 from MathiasVP/guards-lt

C++: Support `<` reasoning for `switch` statements in Guards library
This commit is contained in:
Mathias Vorreiter Pedersen
2024-03-20 10:40:39 +00:00
committed by GitHub
6 changed files with 309 additions and 42 deletions

View File

@@ -0,0 +1,5 @@
---
category: feature
---
* Added a predicate `GuardCondition.comparesLt/4` to query whether an expression is compared to a constant.
* Added a predicate `GuardCondition.ensuresLt/4` to query whether a basic block is guarded by an expression being less than a constant.