aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/validation/eval
diff options
authorLuc Van Oostenryck <luc.vanoostenryck@gmail.com>2020-10-22 01:13:02 +0200
committerLuc Van Oostenryck <luc.vanoostenryck@gmail.com>2020-11-08 02:13:04 +0100
commit2680e82101a685cca986bf619bb1dd21e0573af8 (patch)
treeb6781de3fa05341044feea75e3810a73fd65244f /validation/eval
parent4146aecb9917aaad05c560280089e2557f113126 (diff)
downloadsparse-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/eval')
0 files changed, 0 insertions, 0 deletions