[llvm] [TableGen][DecoderEmitter] Replace opcode mask with booleans (NFC) (PR #159113)
Rahul Joshi via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 16 08:31:07 PDT 2025
================
@@ -1192,6 +1194,8 @@ void DecoderTableBuilder::emitSingletonTableEntry(
const Record *InstDef = Encodings[EncodingID].getInstruction()->TheDef;
TableInfo.Table.insertULEB128(Target.getInstrIntValue(InstDef));
TableInfo.Table.insertULEB128(DIdx);
+ if (DecoderOp == OPC_TryDecode)
+ TableInfo.HasTryDecode = true;
----------------
jurahul wrote:
nit: TableInfo.HasTryDecode |= DecoderOp == OPC_TryDecode?
https://github.com/llvm/llvm-project/pull/159113
More information about the llvm-commits
mailing list