[llvm] 8dfd081 - [RISCV] Remove unused method from RISCVInsertVSETVLI. NFC

Craig Topper via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 9 15:35:55 PDT 2021


Author: Craig Topper
Date: 2021-06-09T15:35:26-07:00
New Revision: 8dfd0810f240cd97d9cdf9fde4635025f2462853

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

LOG: [RISCV] Remove unused method from RISCVInsertVSETVLI. NFC

If this becomes needed its trivial to add it back.

Added: 
    

Modified: 
    llvm/lib/Target/RISCV/RISCVInsertVSETVLI.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/lib/Target/RISCV/RISCVInsertVSETVLI.cpp b/llvm/lib/Target/RISCV/RISCVInsertVSETVLI.cpp
index 7121061258f1..43ed7ed05f17 100644
--- a/llvm/lib/Target/RISCV/RISCVInsertVSETVLI.cpp
+++ b/llvm/lib/Target/RISCV/RISCVInsertVSETVLI.cpp
@@ -213,8 +213,6 @@ class VSETVLIInfo {
     return hasSameVTYPE(Other) && hasSameAVL(Other);
   }
 
-  bool operator!=(const VSETVLIInfo &Other) const { return !(*this == Other); }
-
   // Calculate the VSETVLIInfo visible to a block assuming this and Other are
   // both predecessors.
   VSETVLIInfo intersect(const VSETVLIInfo &Other) const {


        


More information about the llvm-commits mailing list