[llvm-branch-commits] [llvm] 60806e8 - Remove Shapet assignment operator that's identical to the default. NFC.

Benjamin Kramer via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Thu Dec 10 02:03:48 PST 2020


Author: Benjamin Kramer
Date: 2020-12-10T10:58:41+01:00
New Revision: 60806e856a18262c544244f96739db2d9ac59424

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

LOG: Remove Shapet assignment operator that's identical to the default. NFC.

Added: 
    

Modified: 
    llvm/include/llvm/CodeGen/TileShapeInfo.h

Removed: 
    


################################################################################
diff  --git a/llvm/include/llvm/CodeGen/TileShapeInfo.h b/llvm/include/llvm/CodeGen/TileShapeInfo.h
index f7ad81c25ebb..031d23555b7e 100644
--- a/llvm/include/llvm/CodeGen/TileShapeInfo.h
+++ b/llvm/include/llvm/CodeGen/TileShapeInfo.h
@@ -26,8 +26,6 @@
 #include "llvm/CodeGen/Register.h"
 #include <utility>
 
-using namespace llvm;
-
 namespace llvm {
 
 class ShapeT {
@@ -57,14 +55,6 @@ class ShapeT {
 
   bool operator!=(const ShapeT &Shape) { return !(*this == Shape); }
 
-  ShapeT &operator=(const ShapeT &RHS) {
-    Row = RHS.Row;
-    Col = RHS.Col;
-    RowImm = RHS.RowImm;
-    ColImm = RHS.ColImm;
-    return *this;
-  }
-
   MachineOperand *getRow() const { return Row; }
 
   MachineOperand *getCol() const { return Col; }


        


More information about the llvm-branch-commits mailing list