Ran
|
Jobs
1
|
Files
89
|
Run time
13s
|
Badge
Embed ▾
README BADGES
|
push
github
Prevent CSE of a REF_BASE operand across IR_RETF. Reported by XmiliaH. (cherry-picked from commit e73916d81) The RETF IR has a side effect: it shifts base when returning to a lower frame, i.e., it affects `REF_BASE` IR (0000) (thus, we can say that this IR is violating SSA form). So any optimization of IRs with `REF_BASE` as an operand across RETF IR may lead to incorrect optimizations (see details in the test file). This patch adds rules to the folding engine to prevent CSE across `IR_RETF` for all possible IRs containing REF_BASE. Sergey Kaplun: * added the description and the test for the problem Part of tarantool/tarantool#9145 Reviewed-by: Sergey Bronnikov <sergeyb@tarantool.org> Reviewed-by: Maxim Kokryashkin <m.kokryashkin@tarantool.org> Signed-off-by: Igor Munkin <imun@tarantool.org> (cherry picked from commit 804f85a82)
5346 of 5967 branches covered (0.0%)
Branch coverage included in aggregate %.
2 of 2 new or added lines in 1 file covered. (100.0%)
3 existing lines in 2 files now uncovered.20500 of 23264 relevant lines covered (88.12%)
699844.68 hits per line
Lines | Coverage | ∆ | File |
---|---|---|---|
1 |
96.13 |
-0.05% | src/lj_record.c |
2 |
98.84 |
-0.33% | src/lj_gc.c |
ID | Job ID | Ran | Files | Coverage | |
---|---|---|---|---|---|
1 | 7118518877.1 | 89 |
88.42 |
GitHub Action Run |
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line | Branch Hits | Branch Misses |
---|