• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

tarantool / luajit / 7118518838
93%

Build:
DEFAULT BRANCH: tarantool/master
Ran 06 Dec 2023 06:16PM UTC
Jobs 1
Files 89
Run time 18s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

06 Dec 2023 05:53PM UTC coverage: 88.593% (-0.02%) from 88.612%
7118518838

push

github

igormunkin
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>

5375 of 5986 branches covered (0.0%)

Branch coverage included in aggregate %.

2 of 2 new or added lines in 1 file covered. (100.0%)

8 existing lines in 2 files now uncovered.

20619 of 23355 relevant lines covered (88.29%)

2746398.45 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
95.91
-0.18% src/lj_opt_mem.c
7
94.74
-4.78% src/lj_str.c
Jobs
ID Job ID Ran Files Coverage
1 7118518838.1 06 Dec 2023 06:16PM UTC 89
88.59
GitHub Action Run
Source Files on build 7118518838
  • Tree
  • List 89
  • Changed 86
  • Source Changed 0
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #7118518838
  • 804f85a8 on github
  • Prev Build on tarantool/master (#7111529378)
  • Next Build on tarantool/master (#7118840799)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc