amd/compiler: Fixes warning [-Wunused-variable] in test_to_hw_instr.cpp

Warning message:
../src/amd/compiler/tests/test_to_hw_instr.cpp:793:12: warning: unused variable 'reg_s1' [-Wunused-variable]

Signed-off-by: Yonggang Luo <luoyonggang@gmail.com>
Reviewed-by: Rhys Perry <pendingchaos02@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18205>
This commit is contained in:
Yonggang Luo 2022-08-23 12:23:01 +08:00 committed by Marge Bot
parent c49e328e4f
commit 4a607c2df4

View file

@ -790,7 +790,6 @@ BEGIN_TEST(to_hw_instr.copy_linear_vgpr_scc)
return;
PhysReg reg_s0{0};
PhysReg reg_s1{1};
PhysReg v0_lo{256};
PhysReg v0_b3{256};
v0_b3.reg_b += 3;