summaryrefslogtreecommitdiff
path: root/src/broadcom/Makefile.sources
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2019-02-22 14:26:26 -0800
committerEric Anholt <eric@anholt.net>2019-04-11 09:24:02 -0700
commit8f065596d22ab000c53ffe926d4340f4c9aeed97 (patch)
treeef6520367c9e9f3ba70fa184c41cbb5152e123be /src/broadcom/Makefile.sources
parent3dd2001993409d08e7b0fbc9d817e4a2181b52b1 (diff)
v3d: Add an optimization pass for redundant flags updates.
Our exec masking introduces lots of redundant flags updates, and even without that there will be cases where NIR comparisons on the same sources for different reasons may generate the same comparison instruction before the selection. total instructions in shared programs: 6492930 -> 6460934 (-0.49%) total uniforms in shared programs: 2117460 -> 2115106 (-0.11%) total spills in shared programs: 4983 -> 4987 (0.08%) total fills in shared programs: 6408 -> 6416 (0.12%)
Diffstat (limited to 'src/broadcom/Makefile.sources')
-rw-r--r--src/broadcom/Makefile.sources1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/broadcom/Makefile.sources b/src/broadcom/Makefile.sources
index 75f402c2393..568e7b8701b 100644
--- a/src/broadcom/Makefile.sources
+++ b/src/broadcom/Makefile.sources
@@ -29,6 +29,7 @@ BROADCOM_FILES = \
compiler/vir_live_variables.c \
compiler/vir_opt_copy_propagate.c \
compiler/vir_opt_dead_code.c \
+ compiler/vir_opt_redundant_flags.c \
compiler/vir_opt_small_immediates.c \
compiler/vir_register_allocate.c \
compiler/vir_to_qpu.c \