Skip to content

Improve check in NodeHoisting transformation #1422

@phate

Description

@phate

The current check in the NodeHoisting transformation enables a node to be hoisted if it does not have any state edges. I believe that this is a bit risky as the compiler evolves as the semantics of nodes etc. changes. We already had bugs because of this as exemplified by #1421

I would rather like to switch to a check that explicitly enables only specific operation types to be hoisted. This should be more conservative and hopefully leading to fewer bugs. It might lead to missed hoisting opportunities, but I rather take those than actual bugs.

What do you think @haved ?

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions