aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/validation/optim/set-uimm0.c
AgeCommit message (Collapse)AuthorFilesLines
2020-10-23canonicalize unsigned compares against 0 or 1Luc Van Oostenryck1-1/+5
Some unsigned compares against 0 or 1 are equivalent to testing equality with 0 (x <= 0, x > 0, x < 1, x >= 1). Canonicalize them to this later, more common form. Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
2020-10-23simplify unsigned compares against 0Luc Van Oostenryck1-0/+10
Some unsigned compares against 0 are always true or always false (x < 0 or x >= 0). Simplify them. Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>