Skip to content

ir3: Set up full/half register conflicts correctly

Kristian H. Kristensen requested to merge krh/mesa:ra-half-conflict into master

Setting up transitive conflicts between a full register and its two half registers (eg r0.x and hr0.x and hr0.y) will make hr0.x and hr0.y conflict. They don't conflict and this conflict prevents us from using both at the same time.

Add and use a new ra helper that sets up transitive conflicts between a register and its subregisters, except it carefully avoids the subregister conflict.

Signed-off-by: Kristian H. Kristensen hoegsberg@google.com

CC @anholt @robclark

Edited by Kristian H. Kristensen

Merge request reports