From: Akira Hatanaka Date: Fri, 7 Dec 2012 03:01:24 +0000 (+0000) Subject: [mips] Remove unnecessary predicates. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=ab9705f8fa48f1f00f159746139509faab919ee2;p=oota-llvm.git [mips] Remove unnecessary predicates. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@169577 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/Mips/Mips64InstrInfo.td b/lib/Target/Mips/Mips64InstrInfo.td index 83322eac8c6..4338279582d 100644 --- a/lib/Target/Mips/Mips64InstrInfo.td +++ b/lib/Target/Mips/Mips64InstrInfo.td @@ -66,7 +66,7 @@ multiclass AtomicCmpSwap64 { } } } -let usesCustomInserter = 1, Predicates = [HasMips64, HasStandardEncoding], +let usesCustomInserter = 1, Predicates = [HasStandardEncoding], DecoderNamespace = "Mips64" in { defm ATOMIC_LOAD_ADD_I64 : Atomic2Ops64; defm ATOMIC_LOAD_SUB_I64 : Atomic2Ops64; diff --git a/lib/Target/Mips/MipsCondMov.td b/lib/Target/Mips/MipsCondMov.td index b12b1f2b5ad..67be5d6382a 100644 --- a/lib/Target/Mips/MipsCondMov.td +++ b/lib/Target/Mips/MipsCondMov.td @@ -107,7 +107,7 @@ multiclass MovnPats; -let Predicates = [HasMips64, HasStandardEncoding], +let Predicates = [HasStandardEncoding], DecoderNamespace = "Mips64" in { def MOVZ_I_I64 : CondMovIntInt; def MOVZ_I64_I : CondMovIntInt { @@ -119,7 +119,7 @@ let Predicates = [HasMips64, HasStandardEncoding], } def MOVN_I_I : CondMovIntInt; -let Predicates = [HasMips64, HasStandardEncoding], +let Predicates = [HasStandardEncoding], DecoderNamespace = "Mips64" in { def MOVN_I_I64 : CondMovIntInt; def MOVN_I64_I : CondMovIntInt { diff --git a/lib/Target/Mips/MipsInstrInfo.td b/lib/Target/Mips/MipsInstrInfo.td index 9bf5d6b7d74..c47dbffed9b 100644 --- a/lib/Target/Mips/MipsInstrInfo.td +++ b/lib/Target/Mips/MipsInstrInfo.td @@ -1084,7 +1084,7 @@ def MSUBU : MArithR<5, "msubu", MipsMSubu>; // MUL is a assembly macro in the current used ISAs. In recent ISA's // it is a real instruction. def MUL : ArithLogicR<0x1c, 0x02, "mul", mul, IIImul, CPURegs, 1>, - Requires<[HasMips32, HasStandardEncoding]>; + Requires<[HasStandardEncoding]>; def RDHWR : ReadHardware;