From: Rhys Perry Date: Tue, 16 Jun 2020 13:58:15 +0000 (+0100) Subject: aco: remove outdated assert in handle_operands() X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4fc0499049fcdb7f892f99ce7abf9d739730138e;p=mesa.git aco: remove outdated assert in handle_operands() "target" is no longer expected to be completely inside "swap". Signed-off-by: Rhys Perry Reviewed-by: Daniel Schürmann Part-of: --- diff --git a/src/amd/compiler/aco_lower_to_hw_instr.cpp b/src/amd/compiler/aco_lower_to_hw_instr.cpp index e3bc6944ed1..1973cca027e 100644 --- a/src/amd/compiler/aco_lower_to_hw_instr.cpp +++ b/src/amd/compiler/aco_lower_to_hw_instr.cpp @@ -1585,8 +1585,6 @@ void handle_operands(std::map& copy_map, lower_context* if (!imask) continue; - assert(target->second.bytes < swap.bytes); - int offset = (int)target->second.op.physReg().reg_b - (int)swap.def.physReg().reg_b; /* split and update the middle (the portion that reads the swap's