[Eva] Fixes the location of the message about the automatic loop unrolling.
When two loops follow each other, the automatic loop unrolling is performed on the transition edge between the two, where the current statement (from Cil.CurrentLoc) is still the first loop. Adds a test for this case.
Showing
- src/plugins/value/partitioning/partition.ml 2 additions, 1 deletionsrc/plugins/value/partitioning/partition.ml
- tests/value/auto_loop_unroll.c 29 additions, 0 deletionstests/value/auto_loop_unroll.c
- tests/value/oracle/auto_loop_unroll.0.res.oracle 36 additions, 7 deletionstests/value/oracle/auto_loop_unroll.0.res.oracle
- tests/value/oracle/auto_loop_unroll.1.res.oracle 28 additions, 7 deletionstests/value/oracle/auto_loop_unroll.1.res.oracle
Loading
Please register or sign in to comment