upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/runtime/opus_decoder/leonida_opus_decoder.h
diff options
context:
space:
mode:
authorwhoalin1 <207920491+whoalin1@users.noreply.github.com>2026-11-25 10:06:01 +0200
committerwhoalin1 <207920491+whoalin1@users.noreply.github.com>2026-11-25 10:06:01 +0200
commit33431d6fe5482fdc87edb212f325f37386b4937a (patch)
treeb768ba4813042c49aa6ff90d17aca08121e0c3fe /runtime/opus_decoder/leonida_opus_decoder.h
parent8e5cf5aef1942811bc6e377077b8dc8f388ff8fc (diff)
fix(wave64_emulate_opt): refuse exec-fold regions containing a trailing conditional branch
A block with len(raw_edges[u]) == 1 ending in a conditional branch (no fallthrough block, so falling through writes %pc = len(blocks) = END) cannot safely sit inside a folded s_cbranch_execz/nz region whose exit unconditionally sets %pc = skip. Reject such blocks during the region walk in find_local_exec_folds (matching the existing ot succ[u] check) and add semantic regression tests covering both s_cbranch_scc1 X and s_cbranch_scc1 skip in structured and --dispatch-loop --wave64-emulate modes. Co-Authored-By: Gemini 4 Neon <noreply@google.com>
Diffstat (limited to 'runtime/opus_decoder/leonida_opus_decoder.h')
0 files changed, 0 insertions, 0 deletions