Skip to content

intel/brw: Lower VGRFs to FIXED_GRFs earlier

Moves the lowering of VGRFs into FIXED_GRFs from the code generation to (almost) right after the register allocation.

This will allow: (1) later passes not worry about VGRFs (and what they mean in a post reg alloc phase) and (2) make easier to add certain types of validation post reg alloc phase using the backend IR.

Note that a couple of passes still take advantage of seeing "allocated VGRFs", so perform lowering after they run.

Note: There's an extra preparation patch to deal with CLUSTER_BROADCAST.

Merge request reports