From 47ca84a96d7cd29dfdea1549ffc3e8b3ba312561 Mon Sep 17 00:00:00 2001 From: Rhys Perry Date: Mon, 1 Jun 2020 16:13:09 +0100 Subject: [PATCH] aco: shrink ssa_info MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Reorder members so that it's 16 bytes instead of 24. Signed-off-by: Rhys Perry Reviewed-by: Daniel Schürmann Part-of: --- src/amd/compiler/aco_optimizer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/amd/compiler/aco_optimizer.cpp b/src/amd/compiler/aco_optimizer.cpp index 1e2d4841891..87d4b4ae67c 100644 --- a/src/amd/compiler/aco_optimizer.cpp +++ b/src/amd/compiler/aco_optimizer.cpp @@ -102,11 +102,11 @@ static constexpr uint32_t val_labels = label_constant_32bit | label_constant_64b struct ssa_info { uint32_t val; + uint32_t label; union { Temp temp; Instruction* instr; }; - uint32_t label; ssa_info() : label(0) {} -- 2.30.2