[llvm] [TableGen] Improve handling for dag op names (PR #149248)

Rahul Joshi via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 22 22:55:30 PDT 2025


================
@@ -1547,9 +1555,18 @@ const Init *TGParser::ParseOperation(Record *CurRec, const RecTy *ItemType) {
     case tgtok::XListRemove:
       Code = BinOpInit::LISTREMOVE;
       break;
-    case tgtok::XStrConcat:  Code = BinOpInit::STRCONCAT; break;
-    case tgtok::XInterleave: Code = BinOpInit::INTERLEAVE; break;
-    case tgtok::XSetDagOp:   Code = BinOpInit::SETDAGOP; break;
+    case tgtok::XStrConcat:
----------------
jurahul wrote:

Right, if we can undo that would be good. Additionally the new code now is formatted differently. May be we can run clang-format on this file wholesale after this PR goes in. 

So for now, let's undo formatting changes to code not touched by this change. Thanks.

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


More information about the llvm-commits mailing list