From: Rhys Perry Date: Mon, 1 Jun 2020 15:13:09 +0000 (+0100) Subject: aco: shrink ssa_info X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=47ca84a96d7cd29dfdea1549ffc3e8b3ba312561;p=mesa.git aco: shrink ssa_info Reorder members so that it's 16 bytes instead of 24. Signed-off-by: Rhys Perry Reviewed-by: Daniel Schürmann Part-of: --- 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) {}