diff options
author | Rhys Perry <[email protected]> | 2019-09-18 20:39:41 +0100 |
---|---|---|
committer | Connor Abbott <[email protected]> | 2019-10-09 17:55:25 +0000 |
commit | 3f6e91a8d8576f0d6472d54a178600a25eec6fa2 (patch) | |
tree | 922877eba63232c5862744f166a2cf0b2bf56164 | |
parent | 5ac32b2954ad78ecfb8ee8d90e13a3d3928f5396 (diff) |
aco: enable nir_opt_sink
SGPRS: 880272 -> 838936 (-4.70 %)
VGPRS: 705316 -> 680988 (-3.45 %)
Spilled SGPRs: 1032 -> 832 (-19.38 %)
Spilled VGPRs: 0 -> 0 (0.00 %)
Private memory VGPRs: 0 -> 0 (0.00 %)
Scratch size: 252 -> 252 (0.00 %) dwords per thread
Code Size: 55150788 -> 55172436 (0.04 %) bytes
LDS: 451 -> 451 (0.00 %) blocks
Max Waves: 66178 -> 68706 (3.82 %)
Signed-off-by: Rhys Perry <[email protected]>
Reviewed-by: Daniel Schürmann <[email protected]>
-rw-r--r-- | src/amd/compiler/aco_instruction_selection_setup.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/amd/compiler/aco_instruction_selection_setup.cpp b/src/amd/compiler/aco_instruction_selection_setup.cpp index 2d06ac87b9d..7505707d4bb 100644 --- a/src/amd/compiler/aco_instruction_selection_setup.cpp +++ b/src/amd/compiler/aco_instruction_selection_setup.cpp @@ -1343,7 +1343,7 @@ setup_isel_context(Program* program, nir_opt_shrink_load(nir); nir_move_options move_opts = (nir_move_options)( nir_move_const_undef | nir_move_load_ubo | nir_move_load_input | nir_move_comparisons); - //nir_opt_sink(nir, move_opts); // TODO: enable this once !1664 is merged + nir_opt_sink(nir, move_opts); nir_opt_move(nir, move_opts); nir_convert_to_lcssa(nir, true, false); nir_lower_phis_to_scalar(nir); |