Skip to content

Loop based code motion #652

@kirstenmg

Description

@kirstenmg

To be on par with peggy, we should implement loop based code motion.

Example:

original:

int x = 0;
while (x < 3) {
    x += 1;
}
return x * 5;

optimized:

int x = 0;
while (x < 15) {
    x += 5;
}
return x;

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions