aboutsummaryrefslogtreecommitdiff
path: root/llvm/utils/TableGen/CodeEmitterGen.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@sifive.com>2025-08-21 10:42:37 -0700
committerGitHub <noreply@github.com>2025-08-21 10:42:37 -0700
commitc91f7dc7cdbefb76a0db0d0250ee0c2543b9c04f (patch)
tree0f7710bcc4c0c82eaebbe0be80d9ca04644b1061 /llvm/utils/TableGen/CodeEmitterGen.cpp
parent1a09581aa1341170384d051388f137c3a327a798 (diff)
downloadllvm-c91f7dc7cdbefb76a0db0d0250ee0c2543b9c04f.zip
llvm-c91f7dc7cdbefb76a0db0d0250ee0c2543b9c04f.tar.gz
llvm-c91f7dc7cdbefb76a0db0d0250ee0c2543b9c04f.tar.bz2
[TableGen] Remove dummy UINT64_C(0) from end of InstBits table. NFC (#154778)
I suspect this originally existed to avoid a trailing comma from the previous entry. C++ allows trailing commas in arrays so this isn't necessary.
Diffstat (limited to 'llvm/utils/TableGen/CodeEmitterGen.cpp')
-rw-r--r--llvm/utils/TableGen/CodeEmitterGen.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/utils/TableGen/CodeEmitterGen.cpp b/llvm/utils/TableGen/CodeEmitterGen.cpp
index d7b5e21..be468b0 100644
--- a/llvm/utils/TableGen/CodeEmitterGen.cpp
+++ b/llvm/utils/TableGen/CodeEmitterGen.cpp
@@ -440,7 +440,7 @@ void CodeEmitterGen::emitInstructionBaseValues(
emitInstBits(O, Value);
O << "," << '\t' << "// " << R->getName() << "\n";
}
- O << " UINT64_C(0)\n };\n";
+ O << " };\n";
}
void CodeEmitterGen::emitCaseMap(