Skip to content

transformations: (riscv-lower-parallel-mov) remove unnecessary casts#5523

Closed
anominos wants to merge 6 commits intoxdslproject:mainfrom
anominos:riscv-parallel-move-lowering/refactor/remove-cast
Closed

transformations: (riscv-lower-parallel-mov) remove unnecessary casts#5523
anominos wants to merge 6 commits intoxdslproject:mainfrom
anominos:riscv-parallel-move-lowering/refactor/remove-cast

Conversation

@anominos
Copy link
Copy Markdown
Contributor

@anominos anominos commented Jan 1, 2026

Currently, there are some assignments at the start of the function for type casting. However, these casts have been split by an if block.

This PR moves all type casting assignments to the top of the function to unify the assignments.

@anominos anominos marked this pull request as draft January 1, 2026 13:40
@anominos
Copy link
Copy Markdown
Contributor Author

anominos commented Jan 1, 2026

depends on #5512

@codecov
Copy link
Copy Markdown

codecov Bot commented Jan 1, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 86.02%. Comparing base (915bd94) to head (1fe1cf3).
⚠️ Report is 230 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #5523   +/-   ##
=======================================
  Coverage   86.02%   86.02%           
=======================================
  Files         392      392           
  Lines       55813    55815    +2     
  Branches     6419     6420    +1     
=======================================
+ Hits        48012    48014    +2     
  Misses       6269     6269           
  Partials     1532     1532           

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@anominos anominos force-pushed the riscv-parallel-move-lowering/refactor/remove-cast branch 2 times, most recently from 06d8ee4 to 2f0789b Compare January 7, 2026 19:52
- unify the two different casts

- makes is_allocated check nicer
@anominos
Copy link
Copy Markdown
Contributor Author

anominos commented Jan 8, 2026

Closing in favour of #5512

@anominos anominos closed this Jan 8, 2026
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.

1 participant