Constant propagation in wordLang #129

Closed
xrchz opened this Issue Jul 27, 2016 · 1 comment

Projects

None yet

1 participant

@xrchz
Member
xrchz commented Jul 27, 2016

Currently the data_to_word compiler never produces things like compare-with-immediate. A simple pass that copies in constant values as immediate values is a good optimisation to have. wordLang's new deadcode elimination phase can then delete the original constant assignments if they become dead.

@xrchz
Member
xrchz commented Nov 26, 2016

Closing since #176 is merged (see #176 (comment).)

@xrchz xrchz closed this Nov 26, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment