Skip to content

Register

RaiseRegisterRule

Bases: RewriteRule

This rule puts all registers at the top of the block.

This is required for the UOpToParallel rules to work correctly to handle cases where a register is defined in between two statements that can be parallelized.