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

Rahul Joshi via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 22 11:40:24 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:

This looks like unrelated formatting change. Can you undo it? Or did clang-format do it?

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


More information about the llvm-commits mailing list