Commit 8168e01
committed
[Verifier] Handle deref assumptions separately, don't early exit.
For some reason, some of the checks for specific assumbe bundle elements
exit early if the check pass, meaning we don't verify other entries.
This let a few cases with deref assumptions and non-constant integers slip
through. The patch also adds dedicated checks for assume bundles,
allowing non-constant integers. This is similar to how align is handled.
We could also first just replace the early returns with continues, but
that would require adjusting some tests.1 parent 3a71884 commit 8168e01
2 files changed
+16
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5517 | 5517 | | |
5518 | 5518 | | |
5519 | 5519 | | |
5520 | | - | |
| 5520 | + | |
5521 | 5521 | | |
5522 | 5522 | | |
5523 | 5523 | | |
| |||
5534 | 5534 | | |
5535 | 5535 | | |
5536 | 5536 | | |
5537 | | - | |
| 5537 | + | |
| 5538 | + | |
| 5539 | + | |
| 5540 | + | |
| 5541 | + | |
| 5542 | + | |
| 5543 | + | |
| 5544 | + | |
| 5545 | + | |
| 5546 | + | |
5538 | 5547 | | |
5539 | 5548 | | |
5540 | 5549 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
34 | | - | |
| 33 | + | |
35 | 34 | | |
36 | 35 | | |
37 | 36 | | |
0 commit comments