Ran
|
Jobs
1
|
Files
89
|
Run time
1min
|
Badge
Embed ▾
README BADGES
|
push
github
Limit CSE for IR_CARG to fix loop optimizations. Thanks to Peter Cawley. (cherry picked from commit 3bdc6498c) `IR_CALLXS` for the vararg function contains `IR_CARG(fptr, ctid)` as the second operand. The `loop_emit_phi()` scans only the first operand of the IR, so the second is not marked as PHI. In this case, when the IR appears in both the invariant and variant parts of the loop, CSE may remove it and thus lead to incorrect emitting results. This patch tweaks the CSE rules to avoid CSE across the `IR_LOOP`. Sergey Kaplun: * added the description and the test for the problem Part of tarantool/tarantool#10199 Reviewed-by: Sergey Bronnikov <sergeyb@tarantool.org> Reviewed-by: Maxim Kokryashkin <m.kokryashkin@tarantool.org> Signed-off-by: Sergey Kaplun <skaplun@tarantool.org> (cherry picked from commit b52fe9795)
5694 of 6033 branches covered (94.38%)
Branch coverage included in aggregate %.
4 of 4 new or added lines in 1 file covered. (100.0%)
22 existing lines in 5 files now uncovered.21708 of 23449 relevant lines covered (92.58%)
2974203.78 hits per line
Lines | Coverage | ∆ | File |
---|---|---|---|
1 |
87.74 |
0.17% | src/lj_crecord.c |
2 |
91.98 |
-0.45% | src/luajit.c |
3 |
96.24 |
-0.21% | src/lj_record.c |
6 |
78.58 |
-0.23% | src/lj_opt_fold.c |
10 |
77.8 |
-1.01% | src/lj_api.c |
ID | Job ID | Ran | Files | Coverage | |
---|---|---|---|---|---|
1 | 11382361258.1 | 89 |
92.94 |
GitHub Action Run |
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line | Branch Hits | Branch Misses |
---|