summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorLuc Van Oostenryck <luc.vanoostenryck@gmail.com>2019-12-18 18:52:55 +0100
committerLuc Van Oostenryck <luc.vanoostenryck@gmail.com>2020-10-01 01:40:43 +0200
commit7f816fc3cd71494db289aa95f61313e66be2575a (patch)
treec1b64613d73de6b7a58e793260f6c03c3ea04598
parent304e4d065ca4ba7f8f966000a60ccea7f6056d19 (diff)
downloadsparse-7f816fc3cd71494db289aa95f61313e66be2575a.tar.gz
testsuite: fix erroneous comment
Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
-rw-r--r--validation/optim/canonical-mul.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/validation/optim/canonical-mul.c b/validation/optim/canonical-mul.c
index 3ae9e3a6..0c14226f 100644
--- a/validation/optim/canonical-mul.c
+++ b/validation/optim/canonical-mul.c
@@ -7,7 +7,7 @@ uint xtc_umul_ytc(uint x, uint y) { return (x * 3) * (y * 2); }
* check-description:
* 1) verify that constants in mul chains are
* pushed at the right of the whole chain.
- * For example '(a * 3) * b' must be canonicalized into '(a * b) * 1'
+ * For example '(a * 3) * b' must be canonicalized into '(a * b) * 3'
* This is needed in general for constant simplification;
* for example, for:
* '(a * 3) * (b * 2)'