Skip to content

linearization: handle some remaining assignments - #1542

Open
vbgl wants to merge 1 commit into
mainfrom
linearize-cassgn
Open

linearization: handle some remaining assignments#1542
vbgl wants to merge 1 commit into
mainfrom
linearize-cassgn

Conversation

@vbgl

@vbgl vbgl commented Aug 26, 2026

Copy link
Copy Markdown
Member

Linearization parameters already provide methods to handle moves, loads, and stores that appear as assignments (as opposed to target-specific opn).

Prior to this PR, linearization fails when any assignment remains. This PR recognizes some of these assignments and translate them using the appropriate parameters.

This is currently useless (dead code) but it makes it possible for the passes occurring after lowering and before linearization to introduce load / store / moves in a generic way (architecture dependent). I intend to re-implement the (currently experimental & trusted) automatic spilling pass using this facility.

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