[llvm] [llvm-tblgen] Increase Coverage Index Size (PR #118329)
Sam Elliott via llvm-commits
llvm-commits at lists.llvm.org
Tue Dec 3 03:01:30 PST 2024
================
@@ -381,8 +381,8 @@ static void EndEmitFunction(raw_ostream &OS) {
void MatcherTableEmitter::EmitPatternMatchTable(raw_ostream &OS) {
- assert(isUInt<16>(VecPatterns.size()) &&
- "Using only 16 bits to encode offset into Pattern Table");
+ assert(isUInt<32>(VecPatterns.size()) &&
+ "Using only 32 bits to encode offset into Pattern Table");
----------------
lenary wrote:
Will do a fixup with this change - because I agree, we need something to error regardless of whether we're optimising or not.
https://github.com/llvm/llvm-project/pull/118329
More information about the llvm-commits
mailing list