Improve independence analysis in code optimizer #974
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "fix_optimization_bug"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Created by: hanssv
There is an omission in the logic checking whether two byte code instructions are independent - as demonstrated by #482
This adds a check that an instruction reading the store/state is not pushed past an impure instruction (for example a function call).
This results in:
Fixes #482
This PR is supported by the Æternity Crypto Foundation
Created by: radrow
Review: Approved
We definitely need runtime tests in the compiler repo.
approved this merge request
Merged by: hanssv at 2023-08-24 07:43:41 UTC