upleb.uk

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

summaryrefslogtreecommitdiff
path: root/runtime/src
diff options
context:
space:
mode:
authorJan Trencansky <jan.trencansky@protonmail.com>2026-11-24 19:38:24 -0500
committerJan Trencansky <jan.trencansky@protonmail.com>2026-11-24 19:38:24 -0500
commit432dae12f0213bd5b8dfd185eca7cdd30e857794 (patch)
treeed4afd60259eb16d2563c63f2db4efd4205fccb0 /runtime/src
parente011e10a7115da8318404ff57417f72adf08cb3a (diff)
test_control_flow_branches: model OpPhi in the structured interpreter
#984's loop guard (tools/spirv_loop_guard.py, the 'Loop guard' row in docs/design.md) puts an iteration counter at every loop header as an OpPhi. The interpreter this test file carries did not model OpPhi, so the four loop cases stopped with 'Opcode not modelled' on the translator's default output. The interpreter now tracks the predecessor block and evaluates OpPhi; the cases and their expected values are unchanged. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Diffstat (limited to 'runtime/src')
0 files changed, 0 insertions, 0 deletions