[llvm] [LLVM][TableGen] Parameterize NumToSkip in DecoderEmitter (PR #136456)
Sergei Barannikov via llvm-commits
llvm-commits at lists.llvm.org
Sat Apr 19 17:34:54 PDT 2025
================
@@ -76,6 +78,12 @@ static cl::opt<SuppressLevel> DecoderEmitterSuppressDuplicates(
"significantly reducing Table Duplications")),
cl::init(SUPPRESSION_DISABLE), cl::cat(DisassemblerEmitterCat));
+static cl::opt<uint32_t>
+ NumToSkipSizeInBytes("num-to-skip-size",
+ cl::desc("number of bytes to use for num-to-skip "
----------------
s-barannikov wrote:
The help message isn't really helpful to the user as it talks about some implementation detail. Option's name doesn't tell much either.
How about replacing this with a boolean option like `large-tables` or similar?
https://github.com/llvm/llvm-project/pull/136456
More information about the llvm-commits
mailing list