Skip to content

Conversation

@jserv
Copy link
Collaborator

@jserv jserv commented Aug 14, 2025

This commit adds a clean separation between target-independent IR optimization and architecture-specific code generation by introducing an arch-lowering stage that runs after peephole optimization.

Summary by Bito

This pull request introduces a new architecture-specific IR lowering stage, enhancing the separation of target-independent optimizations from architecture-specific code generation. It adds ARM and RISC-V functions for branch detachment, simplifying code generation and updating the main code flow to apply optimizations before final generation.

This commit adds a clean separation between target-independent IR
optimization and architecture-specific code generation by introducing
an arch-lowering stage that runs after peephole optimization.
@jserv jserv merged commit 4debd6d into master Aug 14, 2025
12 checks passed
@jserv jserv deleted the arch-lower branch August 14, 2025 20:04
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