diff options
| author | Luc Van Oostenryck <luc.vanoostenryck@gmail.com> | 2020-10-28 20:40:51 +0100 |
|---|---|---|
| committer | Luc Van Oostenryck <luc.vanoostenryck@gmail.com> | 2020-11-08 02:12:06 +0100 |
| commit | c355e5ac5dce35f3d95c30cd5e2e9a5074c38437 (patch) | |
| tree | 4a9e8de28131d3871d47a1190f8a1377ed9de357 /FAQ | |
| parent | 85c234ab3cde86b2f06e7e148b741d2673928473 (diff) | |
| download | sparse-dev-c355e5ac5dce35f3d95c30cd5e2e9a5074c38437.tar.gz | |
cmp: canonicalize unsigned (x {<,>=} C) --> (x {<=,>} C-1)
An unsigned comparison like (x < 3) is equivalent to (x <= 2).
Canonicalize '<' & '>=' to '<=' & '>', such that the smallest
constant is used.
Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
Diffstat (limited to 'FAQ')
0 files changed, 0 insertions, 0 deletions
