[llvm] [mlir] [TableGen] Add assert to validate `Objects` list for `HwModeSelect` (PR #123794)

Rahul Joshi via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 24 09:38:30 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;
----------------
jurahul wrote:

Done. and its simpler than what I had. Thanks.

https://github.com/llvm/llvm-project/pull/123794


More information about the llvm-commits mailing list