From 80eb99492902884651ccc064188074af250ec433 Mon Sep 17 00:00:00 2001 From: Akira Hatanaka Date: Tue, 11 Oct 2011 23:43:48 +0000 Subject: [PATCH] Change name of class to ArithOverflowR. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@141743 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/Mips/MipsInstrInfo.td | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/Target/Mips/MipsInstrInfo.td b/lib/Target/Mips/MipsInstrInfo.td index 4938cf8bc94..2ee32fa540a 100644 --- a/lib/Target/Mips/MipsInstrInfo.td +++ b/lib/Target/Mips/MipsInstrInfo.td @@ -260,7 +260,7 @@ class ArithLogicR op, bits<6> func, string instr_asm, SDNode OpNode, let isCommutable = isComm; } -class ArithLogicOfR op, bits<6> func, string instr_asm, +class ArithOverflowR op, bits<6> func, string instr_asm, InstrItinClass itin, RegisterClass RC, bit isComm = 0>: FR { @@ -616,8 +616,8 @@ def LUi : LoadUpper<0x0f, "lui">; /// Arithmetic Instructions (3-Operand, R-Type) def ADDu : ArithLogicR<0x00, 0x21, "addu", add, IIAlu, CPURegs, 1>; def SUBu : ArithLogicR<0x00, 0x23, "subu", sub, IIAlu, CPURegs>; -def ADD : ArithLogicOfR<0x00, 0x20, "add", IIAlu, CPURegs, 1>; -def SUB : ArithLogicOfR<0x00, 0x22, "sub", IIAlu, CPURegs>; +def ADD : ArithOverflowR<0x00, 0x20, "add", IIAlu, CPURegs, 1>; +def SUB : ArithOverflowR<0x00, 0x22, "sub", IIAlu, CPURegs>; def SLT : SetCC_R<0x00, 0x2a, "slt", setlt, CPURegs>; def SLTu : SetCC_R<0x00, 0x2b, "sltu", setult, CPURegs>; def AND : ArithLogicR<0x00, 0x24, "and", and, IIAlu, CPURegs, 1>;