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

Nemanja Ivanovic via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 22 22:04:48 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:
----------------
nemanjai wrote:

This was done by `git-clang-format` because I added the `tgtok::XSetDagOpName` and attempted to format it the same as the rest. I can certainly undo it if you insist though.

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


More information about the llvm-commits mailing list