From: Rhys Perry Date: Mon, 27 Apr 2020 19:24:24 +0000 (+0100) Subject: aco: don't recurse in sub-dword get_reg_simple() X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=24116a8a561ffce9d55ab3b930d9c7648eda9cbb;p=mesa.git aco: don't recurse in sub-dword get_reg_simple() Signed-off-by: Rhys Perry Reviewed-by: Daniel Schürmann Part-of: --- diff --git a/src/amd/compiler/aco_register_allocation.cpp b/src/amd/compiler/aco_register_allocation.cpp index 7fd15295ea8..42a4dcbcebf 100644 --- a/src/amd/compiler/aco_register_allocation.cpp +++ b/src/amd/compiler/aco_register_allocation.cpp @@ -391,6 +391,7 @@ std::pair get_reg_simple(ra_ctx& ctx, } stride = 1; /* stride in full registers */ + rc = info.rc = RegClass(RegType::vgpr, size); } if (stride == 1) {