From 1c9ecb21237a24675d0ab001ef61efa70385399d Mon Sep 17 00:00:00 2001 From: =?utf8?q?Timur=20Krist=C3=B3f?= Date: Tue, 21 Jan 2020 15:34:23 +0100 Subject: [PATCH] aco: Fix signedness compare warning. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Timur Kristóf Reviewed-by: Daniel Schürmann Tested-by: Marge Bot Part-of: --- src/amd/compiler/aco_insert_exec_mask.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/amd/compiler/aco_insert_exec_mask.cpp b/src/amd/compiler/aco_insert_exec_mask.cpp index bbbab1a35fd..2cfd029bdc4 100644 --- a/src/amd/compiler/aco_insert_exec_mask.cpp +++ b/src/amd/compiler/aco_insert_exec_mask.cpp @@ -732,7 +732,7 @@ void process_instructions(exec_ctx& ctx, Block* block, int num; Temp cond, exit_cond; if (instr->operands[0].isConstant()) { - assert(instr->operands[0].constantValue() == -1); + assert(instr->operands[0].constantValue() == -1u); /* transition to exact and set exec to zero */ Temp old_exec = ctx.info[block->index].exec.back().first; Temp new_exec = bld.tmp(bld.lm); -- 2.30.2