FuelLabs
sway
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
Performance History
Latest Results
update tests
xunilrj/const-if
11 hours ago
Merge branch 'master' into vaivaswatha/ir_switch
vaivaswatha/ir_switch
15 hours ago
Hash attributes to avoid undesired `dedup` matches (#7538) ## Description The current version of `dedup` does not hash attributes. This allow undesired matches like the one for the test `trait_constraint_param_order` below. We do not inline `main` inside `__entry`, but in this test `main` is so simple that it is being matched by another function. Later, this new function ends up being inlined. <img width="556" height="368" alt="image" src="https://github.com/user-attachments/assets/39e046dd-a27a-436b-85a4-0fba42c69e9d" /> In this case the final IR does not have a original entry. But if the match was reversed, we could end up multiple methods calling the `main` function generating a cycle, which can complicate CFG analysis and others... ## Checklist - [ ] I have linked to any relevant issues. - [x] I have commented my code, particularly in hard-to-understand areas. - [ ] I have updated the documentation where relevant (API docs, the reference, and the Sway book). - [ ] If my change requires substantial documentation changes, I have [requested support from the DevRel team](https://github.com/FuelLabs/devrel-requests/issues/new/choose) - [x] I have added tests that prove my fix is effective or that my feature works. - [ ] I have added (or requested a maintainer to add) the necessary `Breaking*` or `New Feature` labels where relevant. - [x] I have done my best to ensure that my PR adheres to [the Fuel Labs Code Review Standards](https://github.com/FuelLabs/rfcs/blob/master/text/code-standards/external-contributors.md). - [x] I have requested a review from the relevant team or maintainers.
master
15 hours ago
update tests
xunilrj/const-if
2 days ago
update tests
xunilrj/const-if
2 days ago
testing if IR generation
xunilrj/const-if
2 days ago
handle switches in replace_successor
vaivaswatha/ir_switch
3 days ago
Add a check for same destination block from multiple cases
vaivaswatha/ir_switch
3 days ago
Active Branches
Const condition on `if` expressions only generate the correct branch
last run
11 hours ago
#7535
CodSpeed Performance Gauge
+26%
IR support for `switch` instructions
last run
15 hours ago
#7536
CodSpeed Performance Gauge
+25%
Fix runtime memory layout of string arrays
last run
8 days ago
#7517
CodSpeed Performance Gauge
0%
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs