simplify and canonicalize unsigned compares
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 2 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | simplify unsigned compares against 0simplify.c validation/ | +20 | 2 replies | |
| 2/2 | canonicalize unsigned compares against 0 or 1simplify.c validation/ | +25 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/2] simplify and canonicalize unsigned compares
Some unsigned compares are always true or false. Some others, testing if the value is greater or smaller than 0 or 1 are equivalent to testing if this value is equal or not to 0.
These 2 patches simplify the first ones and canonicalize the others to the equivalent equality test.
Luc Van Oostenryck (2):
simplify unsigned compares against 0
canonicalize unsigned compares against 0 or 1
simplify.c | 30 ++++++++++++++++++++++++++++++ validation/optim/set-uimm0.c | 14 ++++++++++++++ 2 files changed, 44 insertions(+) create mode 100644 validation/optim/set-uimm0.c
Signature · 1 line
2.28.0