mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-19 22:18:18 +02:00
To decide which variables to spill, we must use the distances at the beginning of the loop-header, and not the distances at the end of the loop-preheader. The difference are that the former includes phis which are viable to be spilled as opposed to the phi operands which would be reloaded by add_coupling_code(), ending up in potentially too high register pressure before the loop. Totals from 206 (0.15% of 136546) affected shaders (Raven): SpillSGPRs: 5154 -> 5000 (-2.99%) CodeSize: 3654072 -> 3647184 (-0.19%); split: -0.19%, +0.00% Instrs: 701482 -> 700526 (-0.14%); split: -0.14%, +0.00% Latency: 40988780 -> 40872506 (-0.28%); split: -0.29%, +0.00% InvThroughput: 20364560 -> 20306006 (-0.29%) SClause: 20192 -> 20198 (+0.03%) Copies: 77732 -> 77688 (-0.06%); split: -0.08%, +0.03% Branches: 24204 -> 24050 (-0.64%) Reviewed-by: Rhys Perry <pendingchaos02@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9196> |
||
|---|---|---|
| .. | ||
| addrlib | ||
| ci | ||
| common | ||
| compiler | ||
| llvm | ||
| registers | ||
| vulkan | ||
| .clang-format | ||
| Android.addrlib.mk | ||
| Android.common.mk | ||
| Android.compiler.mk | ||
| Android.mk | ||
| Makefile.sources | ||
| meson.build | ||