From 4fc0499049fcdb7f892f99ce7abf9d739730138e Mon Sep 17 00:00:00 2001 From: Rhys Perry Date: Tue, 16 Jun 2020 14:58:15 +0100 Subject: [PATCH] aco: remove outdated assert in handle_operands() MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit "target" is no longer expected to be completely inside "swap". Signed-off-by: Rhys Perry Reviewed-by: Daniel Schürmann Part-of: --- src/amd/compiler/aco_lower_to_hw_instr.cpp | 2 -- 1 file changed, 2 deletions(-) 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 -- 2.30.2