llvm-project
82acc31f - [TableGen][DecoderEmitter] Merge OPC_Decode with OPC_TryDecode (#159178)

Commit
88 days ago
[TableGen][DecoderEmitter] Merge OPC_Decode with OPC_TryDecode (#159178) OPC_Decode is a specialized OPC_TryDecode. The difference between them is that OPC_TryDecode performs a "completeness check", while OPC_Decode asserts that the check passes. The check is just a boolean test, which is nothing compared to the complexity of the decoding process, so there is no point in having a special opcode that optimizes the check.
Author
Parents
Loading