aco: limit hard clauses to 63 instructions
authorRhys Perry <pendingchaos02@gmail.com>
Thu, 21 Jul 2022 15:16:16 +0000 (16:16 +0100)
committerMarge Bot <emma+marge@anholt.net>
Fri, 30 Sep 2022 20:57:02 +0000 (20:57 +0000)
commit4544490df01ab077f04ec98f055c8323ec535048
tree18654a4a8d3cee760616f7094171ae1ae08b0590
parenta406b36d30a7dd2d7623912dd91ec155bd18ed5a
aco: limit hard clauses to 63 instructions

See https://reviews.llvm.org/D127391

fossil-db (gfx1100):
Totals from 4 (0.00% of 161689) affected shaders:
Latency: 24545 -> 24539 (-0.02%)
InvThroughput: 102867 -> 102835 (-0.03%)

fossil-db (navi10):
Totals from 4 (0.00% of 161220) affected shaders:
Latency: 25969 -> 25959 (-0.04%)
InvThroughput: 112917 -> 112869 (-0.04%)

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/17710>
src/amd/compiler/aco_form_hard_clauses.cpp
src/amd/compiler/tests/test_hard_clause.cpp