diff --git a/lib/Target/Mips/Mips64InstrInfo.td b/lib/Target/Mips/Mips64InstrInfo.td index 16a059fb554..0e6e1fd5f20 100644 --- a/lib/Target/Mips/Mips64InstrInfo.td +++ b/lib/Target/Mips/Mips64InstrInfo.td @@ -37,21 +37,15 @@ def immZExt6 : ImmLeaf; let DecoderNamespace = "Mips64" in { multiclass Atomic2Ops64 { - def NAME : Atomic2Ops, - Requires<[NotN64, HasStdEnc]>; - def _P8 : Atomic2Ops, - Requires<[IsN64, HasStdEnc]> { - let isCodeGenOnly = 1; - } + def NAME : Atomic2Ops, Requires<[NotN64, HasStdEnc]>; + def _P8 : Atomic2Ops, Requires<[IsN64, HasStdEnc]>; } multiclass AtomicCmpSwap64 { def NAME : AtomicCmpSwap, Requires<[NotN64, HasStdEnc]>; def _P8 : AtomicCmpSwap, - Requires<[IsN64, HasStdEnc]> { - let isCodeGenOnly = 1; - } + Requires<[IsN64, HasStdEnc]>; } } let usesCustomInserter = 1, Predicates = [HasStdEnc], @@ -67,9 +61,9 @@ let usesCustomInserter = 1, Predicates = [HasStdEnc], } /// Pseudo instructions for loading and storing accumulator registers. -let isPseudo = 1 in { - defm LOAD_AC128 : LoadM<"load_ac128", ACRegs128>; - defm STORE_AC128 : StoreM<"store_ac128", ACRegs128>; +let isPseudo = 1, isCodeGenOnly = 1 in { + defm LOAD_AC128 : LoadM<"", ACRegs128>; + defm STORE_AC128 : StoreM<"", ACRegs128>; } //===----------------------------------------------------------------------===// diff --git a/lib/Target/Mips/MipsInstrInfo.td b/lib/Target/Mips/MipsInstrInfo.td index ace43b99841..75cf3d843a3 100644 --- a/lib/Target/Mips/MipsInstrInfo.td +++ b/lib/Target/Mips/MipsInstrInfo.td @@ -791,10 +791,7 @@ class Atomic2Ops : multiclass Atomic2Ops32 { def NAME : Atomic2Ops, Requires<[NotN64, HasStdEnc]>; - def _P8 : Atomic2Ops, - Requires<[IsN64, HasStdEnc]> { - let DecoderNamespace = "Mips64"; - } + def _P8 : Atomic2Ops, Requires<[IsN64, HasStdEnc]>; } // Atomic Compare & Swap. @@ -806,9 +803,7 @@ multiclass AtomicCmpSwap32 { def NAME : AtomicCmpSwap, Requires<[NotN64, HasStdEnc]>; def _P8 : AtomicCmpSwap, - Requires<[IsN64, HasStdEnc]> { - let DecoderNamespace = "Mips64"; - } + Requires<[IsN64, HasStdEnc]>; } class LLBase : @@ -879,9 +874,9 @@ let usesCustomInserter = 1 in { } /// Pseudo instructions for loading and storing accumulator registers. -let isPseudo = 1 in { - defm LOAD_AC64 : LoadM<"load_ac64", ACRegs>; - defm STORE_AC64 : StoreM<"store_ac64", ACRegs>; +let isPseudo = 1, isCodeGenOnly = 1 in { + defm LOAD_AC64 : LoadM<"", ACRegs>; + defm STORE_AC64 : StoreM<"", ACRegs>; } //===----------------------------------------------------------------------===//