[llvm] db8ca88 - [TableGen] Print all arguments to GET_VT_ATTR in the comment in GenVT.inc. NFC

Craig Topper via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 3 15:00:48 PDT 2024


Author: Craig Topper
Date: 2024-09-03T14:56:53-07:00
New Revision: db8ca88f578c2270ab2d461fa0dd5e7a1d1bad43

URL: https://github.com/llvm/llvm-project/commit/db8ca88f578c2270ab2d461fa0dd5e7a1d1bad43
DIFF: https://github.com/llvm/llvm-project/commit/db8ca88f578c2270ab2d461fa0dd5e7a1d1bad43.diff

LOG: [TableGen] Print all arguments to GET_VT_ATTR in the comment in GenVT.inc. NFC

Added: 
    

Modified: 
    llvm/utils/TableGen/VTEmitter.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/utils/TableGen/VTEmitter.cpp b/llvm/utils/TableGen/VTEmitter.cpp
index b814f017053f9f..6cfd29e710829f 100644
--- a/llvm/utils/TableGen/VTEmitter.cpp
+++ b/llvm/utils/TableGen/VTEmitter.cpp
@@ -120,7 +120,8 @@ void VTEmitter::run(raw_ostream &OS) {
     }
   };
 
-  OS << "#ifdef GET_VT_ATTR // (Ty, n, sz, Any, Int, FP, Vec, Sc, Tup, NF)\n";
+  OS << "#ifdef GET_VT_ATTR // (Ty, n, sz, Any, Int, FP, Vec, Sc, Tup, NF, "
+        "NElem, EltTy)\n";
   for (const auto *VT : VTsByNumber) {
     if (!VT)
       continue;


        


More information about the llvm-commits mailing list