diff options
| author | Luc Van Oostenryck <luc.vanoostenryck@gmail.com> | 2020-10-22 01:13:02 +0200 |
|---|---|---|
| committer | Luc Van Oostenryck <luc.vanoostenryck@gmail.com> | 2020-11-08 02:13:04 +0100 |
| commit | 2680e82101a685cca986bf619bb1dd21e0573af8 (patch) | |
| tree | b6781de3fa05341044feea75e3810a73fd65244f /validation/declaration-after-statement-default.c | |
| parent | 4146aecb9917aaad05c560280089e2557f113126 (diff) | |
| download | sparse-dev-2680e82101a685cca986bf619bb1dd21e0573af8.tar.gz | |
cmp: canonicalize unsigned compare with UMAX or UMAX-1
Unsigned compares with UMAX (or UMAX-1) are equivalent to
equality tests. These are preferable since it's easier to reason
about them in other simplifications.
So canonicalize these compares to equality tests.
Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
Diffstat (limited to 'validation/declaration-after-statement-default.c')
0 files changed, 0 insertions, 0 deletions
