Commit Graph

12 Commits

Author SHA1 Message Date
d28cdfcc7b Improve dead code elimination in optimizer
- Refactored dead_store_elimination to separate forward and backward passes
- Improved register forwarding to better detect backward jumps
- Fixed handling of JumpAndLink instructions in register tracking
- Updated optimizer snapshots to reflect improved code generation

The forward pass now correctly eliminates writes that are immediately overwritten.
Register forwarding now better handles conditional branches and loops.

Note: Backward pass for dead code elimination disabled for now - it needs
additional work to properly handle return values and call site analysis.
2025-12-31 02:37:26 -07:00
f87fdc1b0a Added another test to ensure all 3 tuple scenerios are covered 2025-12-30 20:09:45 -07:00
9d8a867e5f Add new macro variant 'check' to ensure there are no errors AND the compiled output matches 2025-12-30 11:53:02 -07:00
fc13c465c0 Extract logic into reusable functions for better DRY 2025-12-30 11:21:44 -07:00
7295b14f6a Update changelog, update workflow files
All checks were successful
CI/CD Pipeline / test (pull_request) Successful in 34s
CI/CD Pipeline / build (pull_request) Has been skipped
CI/CD Pipeline / release (pull_request) Has been skipped
2025-12-21 16:32:11 -07:00
0dac7ab0b9 changed csharp refs -> ref 2025-12-05 03:27:38 -07:00
50fc9138d4 add -e to docker run command 2025-12-05 03:23:46 -07:00
d0e0dbb722 Fix build.yml to include a mapping of /home/dbidwell to /tmp 2025-12-05 03:21:42 -07:00
7162786096 Add rust-toolchain.toml dependencies to the dockerfile cache 2025-12-05 02:57:40 -07:00
4357bf5263 Attempt to run docker in github actions with correct user and group permissions 2025-12-05 02:45:54 -07:00
dc02133f7e Update build.yml comment about skipping rust doc tests 2025-12-05 02:30:37 -07:00
320d288a6b Start setting up github actions 2025-12-05 02:05:20 -07:00