Skip to content

Conversation

@Pangoraw
Copy link
Collaborator

@Pangoraw Pangoraw commented Dec 4, 2023

the EnterNode struct was added in JuliaLang/julia#52300 This commit adds support for ingesting and exporting CodeInfo with EnterNode but still uses Expr(:enter) inside IRTools IR. We may want to switch the representation to IRTools.EnterNode similarly to IRTools.Slot if more fields are added to the Core.EnterNode struct.

This PR should probably not be merged before JuliaLang/julia#52309 which adds the scope field to EnterNode.

the broken test is fixed separately by #117.

the EnterNode struct was added in JuliaLang/julia#52300
This commit adds support for ingesting and exporting CodeInfo with EnterNode
but still uses `Expr(:enter)` inside IRTools IR. We may want to switch
the representation to `IRTools.EnterNode` similarly to `IRTools.Slot` if
more fields are added to the `Core.EnterNode` struct.
@codecov-commenter
Copy link

codecov-commenter commented Dec 4, 2023

Codecov Report

Attention: 4 lines in your changes are missing coverage. Please review.

Comparison is base (6a9638c) 73.43% compared to head (5cdd662) 73.29%.

Files Patch % Lines
src/ir/print.jl 0.00% 2 Missing ⚠️
src/ir/wrap.jl 75.00% 2 Missing ⚠️

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #118      +/-   ##
==========================================
- Coverage   73.43%   73.29%   -0.15%     
==========================================
  Files          16       16              
  Lines        1487     1494       +7     
==========================================
+ Hits         1092     1095       +3     
- Misses        395      399       +4     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

In particular, JuliaLang/julia#51970 which
adds more nodes in lowered ir.
@Pangoraw Pangoraw merged commit 55c315a into FluxML:master Dec 13, 2023
@Pangoraw Pangoraw deleted the enter_node branch December 13, 2023 17:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants