improvement(semantic/cfg): rework basic blocks.#3381
Conversation
Your org has enabled the Graphite merge queue for merging into mainAdd the label “merge” to the PR and Graphite will automatically add it to the merge queue when it’s ready to merge. Or use the label “hotfix” to add to the merge queue as a hot fix. You must have a Graphite account and log in to Graphite in order to use the merge queue. Sign up using this link. |
CodSpeed Performance ReportMerging #3381 will degrade performances by 3.89%Comparing Summary
Benchmarks breakdown
|
e0649aa to
78e6326
Compare
688a00b to
69aca4e
Compare
|
Look forward to this series of works. Looks like we can get |
This PR will introduce So there are 3 major points that I'm trying to achieve. Some will happen in this PR and some I will do shortly.
With all that said, I'm pretty much-adding features and refactoring stuff as I find shortcomings while implementing something. So no cleaver querying and/or super specific CFG visitors are going to come out of this; Unless somebody reports an actual use case for it. |
ed52f80 to
6a84382
Compare
89de86d to
36e7010
Compare
3e830d1 to
ee57dab
Compare
c232751 to
5e06298
Compare
f48a6c6 to
2fa52e3
Compare
2fa52e3 to
5888b41
Compare
1f7cab8 to
2052b4c
Compare
34d1a6f to
048d149
Compare
|
Reviewing this stack is becoming more cumbersome by the minute, I'll mark some parts of it that I'm sure are correct for review. I'll write a summary for each PR I mark as "ready". |
048d149 to
06f0ea3
Compare
Merge activity
|
I've replaced the `BasicBlockElement` with an `Instruction` type which would keep both the instruction kind and its associated AstNodeId. I also removed the register scheme in the control flow in favor of a simpler approach using explicit enums. #3381 (comment)
06f0ea3 to
209a99d
Compare

I've replaced the
BasicBlockElementwith anInstructiontype which would keep both the instruction kind and its associated AstNodeId.I also removed the register scheme in the control flow in favor of a simpler approach using explicit enums.
#3381 (comment)