1 Commits

Author SHA1 Message Date
e1383ba1bf rdna2spirv: Unsupported, not TypeError, for s_getpc_b64 and branches without encodings
The next PC is the instruction's PC plus its encoding size. In a listing
without '; encoding:' bytes (hand-written) s_getpc_b64 and the branch
targets computed len(None) and crashed with TypeError. They now raise
Unsupported. Straight-line code without encodings is unchanged.

tests/semantic/test_missing_encoding.py covers s_getpc_b64, four branch
forms and a straight-line control.
2026-11-22 09:03:11 -03:00