[llvm] [mlir] [TableGen] Add assert to validate `Objects` list for `HwModeSelect` (PR #123794)
Craig Topper via llvm-commits
llvm-commits at lists.llvm.org
Thu Jan 23 22:20:16 PST 2025
================
@@ -282,15 +282,18 @@ bool TGParser::SetValue(Record *CurRec, SMLoc Loc, const Init *ValName,
if (OverrideDefLoc ? RV->setValue(V, Loc) : RV->setValue(V)) {
std::string InitType;
- if (const auto *BI = dyn_cast<BitsInit>(V))
+ bool LastSingleQuote = true;
----------------
topperc wrote:
Why not add the quote to the `InitType` string for `TypedInit` case?
https://github.com/llvm/llvm-project/pull/123794
More information about the llvm-commits
mailing list