From 60806e856a18262c544244f96739db2d9ac59424 Mon Sep 17 00:00:00 2001 From: Benjamin Kramer Date: Thu, 10 Dec 2020 10:57:14 +0100 Subject: [PATCH] Remove Shapet assignment operator that's identical to the default. NFC. --- llvm/include/llvm/CodeGen/TileShapeInfo.h | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/llvm/include/llvm/CodeGen/TileShapeInfo.h b/llvm/include/llvm/CodeGen/TileShapeInfo.h index f7ad81c..031d235 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 -using namespace llvm; - namespace llvm { class ShapeT { @@ -57,14 +55,6 @@ public: 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; } -- 2.7.4