diff options
| author | Luc Van Oostenryck <luc.vanoostenryck@gmail.com> | 2021-02-09 02:36:14 +0100 |
|---|---|---|
| committer | Luc Van Oostenryck <luc.vanoostenryck@gmail.com> | 2021-04-18 17:21:37 +0200 |
| commit | df7767c6c57284ec3deda589f3694d2170b21fd6 (patch) | |
| tree | ad444f1cd7ec2aa07f2e6c8d7b7e5654018e5ec3 /.gitignore | |
| parent | 28cd6d609ea460c6138f8cd17f89fc9885fb7dc2 (diff) | |
| download | sparse-dev-df7767c6c57284ec3deda589f3694d2170b21fd6.tar.gz | |
simplify AND(x >= 0, x < C) --> (unsigned)x < C
Such compares with a signed value are relatively common and can be
easily be simplified into a single unsigned compare. So, do it.
Note: This simplification triggers only 27 times in a x86-64 defconfig
kernel. I expected more but I suppose it's because most checks
aren't done against a constant or are done with unsigned values.
Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions
