[llvm] ef8df92 - [TableGen] Fix ProfileFoldOpInit so that parameters are named consistently [NFC]

Paul C. Anagnostopoulos via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 9 06:24:05 PDT 2021


Author: Paul C. Anagnostopoulos
Date: 2021-06-09T09:23:31-04:00
New Revision: ef8df920fbbc945dce6aeec717629ddde90a8ebe

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

LOG: [TableGen] Fix ProfileFoldOpInit so that parameters are named consistently [NFC]

See https://bugs.llvm.org/show_bug.cgi?id=50595

Differential Revision: https://reviews.llvm.org/D103823

Added: 
    

Modified: 
    llvm/lib/TableGen/Record.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/lib/TableGen/Record.cpp b/llvm/lib/TableGen/Record.cpp
index fc80a2648f9c9..8663863d968f8 100644
--- a/llvm/lib/TableGen/Record.cpp
+++ b/llvm/lib/TableGen/Record.cpp
@@ -1470,9 +1470,8 @@ std::string TernOpInit::getAsString() const {
           ", " + MHS->getAsString() + ", " + RHS->getAsString() + ")");
 }
 
-static void ProfileFoldOpInit(FoldingSetNodeID &ID, Init *A, Init *B,
-                              Init *Start, Init *List, Init *Expr,
-                              RecTy *Type) {
+static void ProfileFoldOpInit(FoldingSetNodeID &ID, Init *Start, Init *List,
+                              Init *A, Init *B, Init *Expr, RecTy *Type) {
   ID.AddPointer(Start);
   ID.AddPointer(List);
   ID.AddPointer(A);


        


More information about the llvm-commits mailing list