mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-24 07:20:32 +01:00
nir/cse: resize the instruction set
ministat (CSE only): Difference at 95.0% confidence -3357.54 +/- 32.5177 -25.267% +/- 0.24098% (Student's t, pooled s = 33.909) ministat (entire run): Difference at 95.0% confidence -3414.27 +/- 270.628 -2.76477% +/- 0.217647% (Student's t, pooled s = 282.207) Signed-off-by: Rhys Perry <pendingchaos02@gmail.com> Reviewed-by: Daniel Schürmann <daniel@schuermann.dev> Reviewed-by: Matt Turner <mattst88@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6390>
This commit is contained in:
parent
964f59d20e
commit
35e54abc67
1 changed files with 2 additions and 0 deletions
|
|
@ -43,6 +43,8 @@ nir_opt_cse_impl(nir_function_impl *impl)
|
|||
{
|
||||
struct set *instr_set = nir_instr_set_create(NULL);
|
||||
|
||||
_mesa_set_resize(instr_set, impl->ssa_alloc);
|
||||
|
||||
nir_metadata_require(impl, nir_metadata_dominance);
|
||||
|
||||
bool progress = false;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue