diff options
| author | Jan Trencansky <jan.trencansky@protonmail.com> | 2026-11-24 19:38:24 -0500 |
|---|---|---|
| committer | Jan Trencansky <jan.trencansky@protonmail.com> | 2026-11-24 19:38:24 -0500 |
| commit | 432dae12f0213bd5b8dfd185eca7cdd30e857794 (patch) | |
| tree | ed4afd60259eb16d2563c63f2db4efd4205fccb0 /runtime/src/vulkan_aftermath.cpp | |
| parent | e011e10a7115da8318404ff57417f72adf08cb3a (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/vulkan_aftermath.cpp')
0 files changed, 0 insertions, 0 deletions