diff options
| author | JARVIX <273200855+jarvixaiassistant-glitch@users.noreply.github.com> | 2026-11-24 14:55:56 +0000 |
|---|---|---|
| committer | JARVIX <273200855+jarvixaiassistant-glitch@users.noreply.github.com> | 2026-11-28 09:12:41 +0000 |
| commit | 00ed210a197136ca06fc1636195eaa3239a83696 (patch) | |
| tree | 03a7602e24647eff8e074a1087ce297517456f02 /runtime/test/cpp_unwind_test.cpp | |
| parent | 4938673668d807bf365b61284bf22b1ff8d02cc4 (diff) | |
spirv_opt: scalar-replace surviving static Function arrays (SROA)
Split non-escaped, statically indexed Function-scope arrays (such as
%vgpr[256] and %sgpr[128] when no dynamic v_movrel*/s_movrel* indexing
exists) into per-slot scalar OpVariables for only the live slots
referenced after dominator-tree forwarding and DCE, eliminating the
monolithic array allocas and their static OpAccessChains.
Preserves arrays with dynamic indices, whole-array loads/stores,
escapes, decorations, non-null initializers, or negative/out-of-bounds
static indices; canonicalizes signed/unsigned constant indices with
equal value and rewrites multi-index OpAccessChains cleanly.
Diffstat (limited to 'runtime/test/cpp_unwind_test.cpp')
0 files changed, 0 insertions, 0 deletions