projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
19983d3
)
aco: shrink ssa_info
author
Rhys Perry
<pendingchaos02@gmail.com>
Mon, 1 Jun 2020 15:13:09 +0000
(16:13 +0100)
committer
Marge Bot
<eric+marge@anholt.net>
Thu, 18 Jun 2020 14:26:01 +0000
(14:26 +0000)
Reorder members so that it's 16 bytes instead of 24.
Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
Reviewed-by: Daniel Schürmann <daniel@schuermann.dev>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5281>
src/amd/compiler/aco_optimizer.cpp
patch
|
blob
|
history
diff --git
a/src/amd/compiler/aco_optimizer.cpp
b/src/amd/compiler/aco_optimizer.cpp
index 1e2d4841891b0db15d105f212e75fd69762c846f..87d4b4ae67c2a0f5fcae20f7b5363cbcc376fb57 100644
(file)
--- 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) {}