[llvm] [NFCI][MC][DecoderEmitter] Fix BitWidth for fixed length inst encodings (PR #154934)
Rahul Joshi via llvm-commits
llvm-commits at lists.llvm.org
Fri Aug 22 06:54:35 PDT 2025
================
@@ -2031,7 +2031,36 @@ InstructionEncoding::InstructionEncoding(const Record *EncodingDef,
parseVarLenOperands(VLI);
} else {
const auto *BI = cast<BitsInit>(InstField->getValue());
- BitWidth = BI->getNumBits();
----------------
jurahul wrote:
Done
https://github.com/llvm/llvm-project/pull/154934
More information about the llvm-commits
mailing list