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

loop-invariant code motion? #274

Closed
monniaux opened this issue Feb 18, 2019 · 1 comment
Closed

loop-invariant code motion? #274

monniaux opened this issue Feb 18, 2019 · 1 comment
Labels

Comments

@monniaux
Copy link
Contributor

Tristan & Leroy, 2009, describe how lazy code motion can be certified correct. Loop-invariant code motion is cited as an instance. However, when I try current CompCert, or when I look into the source code, it seems that loop-invariant code motion ("hoisting") is not performed. Am I right?

Is this something planned?

@xavierleroy
Copy link
Contributor

Is this something planned?

Not in the short term. The advanced optimizations + translation validation of Tristan are very nice but would need some more work to be put in the production compiler, in particular because they can be costly on large functions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants