llvm-project/mlir/lib/SDBM
Alex Zinenko f5e736c448 SDBM: fix the order of variables in the stripe-induced inequalities
The initial implementation of SDBM mistakenly swapped the order of variables in
the inequalities induced by a stripe equality: y = x # B actually implies
y - x <= 0 and x - y <= B - 1 rather than x - y <= 0 and y - x <= B - 1 as
implemented.  Textual comments in the test files were correct but did not
correspond to the emitted IR.  Round-tripping between SDBM and expression lists
was not affected because the wrong order was used in both directions of the
conversion.  Use the correct order.

PiperOrigin-RevId: 251252980
2019-06-03 19:26:29 -07:00
..
CMakeLists.txt Move SDBM infrastructure into a new SDBM dialect 2019-06-01 19:54:33 -07:00
SDBM.cpp SDBM: fix the order of variables in the stripe-induced inequalities 2019-06-03 19:26:29 -07:00
SDBMDialect.cpp Move SDBM infrastructure into a new SDBM dialect 2019-06-01 19:54:33 -07:00
SDBMExpr.cpp Move SDBM uniquer into the SDBM dialect 2019-06-01 19:54:43 -07:00
SDBMExprDetail.h Move SDBM uniquer into the SDBM dialect 2019-06-01 19:54:43 -07:00