diff options
| author | Luc Van Oostenryck <luc.vanoostenryck@gmail.com> | 2021-03-07 15:01:35 +0100 |
|---|---|---|
| committer | Luc Van Oostenryck <luc.vanoostenryck@gmail.com> | 2021-03-09 22:17:01 +0100 |
| commit | 9713796abe30c441f34d9b28d0582ce6f61002fb (patch) | |
| tree | ce2cc7d02e6489df81f0b0f643c636d17ad54210 /validation/mem2reg | |
| parent | d1239bab5bc931f14f4dc7c4c55aa66f34cc79b1 (diff) | |
| download | sparse-dev-9713796abe30c441f34d9b28d0582ce6f61002fb.tar.gz | |
ssa: fix conversion with mismatched size or offset
The SSA conversion works under the assumption that all the memory
operations on a given symbol always refer to the same object.
So, exclude the conversion of variables where:
* memory operations do not always match in size or offset
* there is an implicit integer/float conversion.
Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
Diffstat (limited to 'validation/mem2reg')
| -rw-r--r-- | validation/mem2reg/not-same-memop0.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/validation/mem2reg/not-same-memop0.c b/validation/mem2reg/not-same-memop0.c index 7a84ddce..4de98195 100644 --- a/validation/mem2reg/not-same-memop0.c +++ b/validation/mem2reg/not-same-memop0.c @@ -16,7 +16,6 @@ static void foo(struct s s) /* * check-name: not-same-memop0 * check-command: test-linearize -Wno-decl -fdump-ir=mem2reg $file - * check-known-to-fail * * check-output-start local: |
