Florian Hahn
0bcfd4cbac
[ConstraintElimination] Rewrite tests to reduce verification complexity.
...
This patch reduces the bitwidth of types certain tests operate and gets
rid of a number of @use(i1) calls and xor's the conditions together
instead, which eliminates all timeouts when verifying the tests.
See https://github.com/AliveToolkit/alive2/issues/744 for more details.
2021-08-26 16:41:40 +01:00
Florian Hahn
68dc90b347
[ConstraintElimination] Decompose a few more GEP indices.
...
This patch adds handling for zero-extended GEP indices.
2021-02-08 18:06:38 +00:00
Florian Hahn
ca268ed285
[ConstraintElimination] Decompose zext for unsigned compares.
...
For unsigned compares, zext should be a no-op and we can add the
extended value to the constraint system.
2021-02-07 20:53:06 +00:00
Florian Hahn
a14a59f2f2
[ConstraintElimination] Add additional tests.
...
Adds additional test cases with zexts, conditions that require temporary
indices.
2021-02-07 18:00:17 +00:00
Florian Hahn
853c52c988
[ConstraintElimination] Require GEPs to be inbounds for decomposition.
...
During decomposition, we assume the no-wrap properties of inbound GEPs.
Make sure the decomposed GEP is actually inbounds.
2021-02-07 11:08:53 +00:00
Florian Hahn
14da287e18
[ConstraintElimination] Extend test coverage.
...
This patch adds a lot of additional tests, focusing on loops and GEP
arithmetic. Some of the tests expose existing problems, which will be
fixed soon.
2021-02-06 21:21:48 +00:00