[llvm] [TableGen][DecoderEmitter] Add option to emit type-specialized `decodeToMCInst` (PR #146593)
Sergei Barannikov via llvm-commits
llvm-commits at lists.llvm.org
Sat Jul 12 03:44:44 PDT 2025
================
@@ -3140,10 +3140,10 @@ Record::getValueAsListOfStrings(StringRef FieldName) const {
if (const auto *SI = dyn_cast<StringInit>(I))
Strings.push_back(SI->getValue());
else
- PrintFatalError(getLoc(),
- Twine("Record `") + getName() + "', field `" + FieldName +
- "' exists but does not have a list of strings value: " +
- I->getAsString());
+ PrintFatalError(
----------------
s-barannikov wrote:
Unrelated formatting change?
https://github.com/llvm/llvm-project/pull/146593
More information about the llvm-commits
mailing list