[llvm] 38e2359 - [NFC] Removed unused VFInfo comparison operator

David Sherwood via llvm-commits llvm-commits at lists.llvm.org
Tue May 18 05:36:53 PDT 2021


Author: David Sherwood
Date: 2021-05-18T13:32:24+01:00
New Revision: 38e2359a11e9be500b38245737e47324d54fe0b4

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

LOG: [NFC] Removed unused VFInfo comparison operator

Added: 
    

Modified: 
    llvm/include/llvm/Analysis/VectorUtils.h

Removed: 
    


################################################################################
diff  --git a/llvm/include/llvm/Analysis/VectorUtils.h b/llvm/include/llvm/Analysis/VectorUtils.h
index 42310fa511f1f..7f53354af167d 100644
--- a/llvm/include/llvm/Analysis/VectorUtils.h
+++ b/llvm/include/llvm/Analysis/VectorUtils.h
@@ -127,12 +127,6 @@ struct VFInfo {
   std::string ScalarName; /// Scalar Function Name.
   std::string VectorName; /// Vector Function Name associated to this VFInfo.
   VFISAKind ISA;          /// Instruction Set Architecture.
-
-  // Comparison operator.
-  bool operator==(const VFInfo &Other) const {
-    return std::tie(Shape, ScalarName, VectorName, ISA) ==
-           std::tie(Shape, Other.ScalarName, Other.VectorName, Other.ISA);
-  }
 };
 
 namespace VFABI {


        


More information about the llvm-commits mailing list