aco/tests: Insert p_logical_start/end in reduce_temp tests

Linear VGPR insertion will depend on a p_logical_end existing in the
blocks the VGPR is inserted in.

Cc: mesa-stable
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28041>
This commit is contained in:
Friedrich Vock
2024-05-14 06:51:02 +02:00
committed by Marge Bot
parent 02efe52aab
commit 84c1870b65
@@ -23,6 +23,11 @@ BEGIN_TEST(setup_reduce_temp.divergent_if_phi)
if (!setup_cs("s2 v1", GFX9))
return;
//>> p_logical_start
//>> p_logical_end
bld.pseudo(aco_opcode::p_logical_start);
bld.pseudo(aco_opcode::p_logical_end);
//>> lv1: %lv = p_start_linear_vgpr
emit_divergent_if_else(
program.get(), bld, Operand(inputs[0]),