1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 11:02:59 +02:00

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

This commit is contained in:
Benjamin Kramer 2020-12-10 10:57:14 +01:00
parent 94cf8f1d41
commit 5449a6bbe1

View File

@ -26,8 +26,6 @@
#include "llvm/CodeGen/Register.h" #include "llvm/CodeGen/Register.h"
#include <utility> #include <utility>
using namespace llvm;
namespace llvm { namespace llvm {
class ShapeT { class ShapeT {
@ -57,14 +55,6 @@ public:
bool operator!=(const ShapeT &Shape) { return !(*this == Shape); } 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 *getRow() const { return Row; }
MachineOperand *getCol() const { return Col; } MachineOperand *getCol() const { return Col; }