2 Commits

Author SHA1 Message Date
Sergei Barannikov
2a586a8118
[TableGen][DecoderEmitter] Remove dead OPC_Fail (#155229)
It can never be reached. It could be reached if we emitted an opcode
that could fall outside the outermost scope, but emission of all such
opcodes is guarded by `!isOutermostScope()`.

That also means we never add fixups to the outermost scope, so avoid
pushing an entry for it onto the stack.
2025-08-25 19:15:35 +03:00
Sergei Barannikov
98262e5bfe
[TableGen][DecoderEmitter] Fix broken AdditionalEncoding support (#155057)
We didn't have tests for AdditionalEncoding and none of the in-tree
targets use this functionality, so I inadvertently broke it in #154288.
2025-08-23 02:48:59 +00:00