Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dead Code elimination #69

Open
dcbaker opened this issue Jan 12, 2022 · 0 comments
Open

Dead Code elimination #69

dcbaker opened this issue Jan 12, 2022 · 0 comments
Labels
difficulty:moderate MIR Issues related to the MIR (Mid level IR)
Milestone

Comments

@dcbaker
Copy link
Owner

dcbaker commented Jan 12, 2022

There are at least a few cases of dead code (and this is related to #57):

  1. Code after an error
  2. useless statements
  3. message and warning after they have been printed
  4. using LVN (local variable numbering) and live range analysis to determine when a variable is dead code
@dcbaker dcbaker added the MIR Issues related to the MIR (Mid level IR) label Jan 12, 2022
@dcbaker dcbaker added this to the 1.0 milestone Jan 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
difficulty:moderate MIR Issues related to the MIR (Mid level IR)
Projects
None yet
Development

No branches or pull requests

1 participant