[mips] Move class IsCommutable into MipsInstrInfo.td.
authorAkira Hatanaka <ahatanaka@mips.com>
Thu, 13 Dec 2012 00:32:01 +0000 (00:32 +0000)
committerAkira Hatanaka <ahatanaka@mips.com>
Thu, 13 Dec 2012 00:32:01 +0000 (00:32 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@170054 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/Mips/MipsDSPInstrInfo.td
lib/Target/Mips/MipsInstrInfo.td

index ef9402865b0d65dffbf94090b541318329bf3732..e28a1389b4129b638270838218c293dffcd6911c 100644 (file)
@@ -75,10 +75,6 @@ def MipsMSUB_DSP : MipsDSPBase<"MSUB_DSP", SDT_MipsDPA>;
 def MipsMSUBU_DSP : MipsDSPBase<"MSUBU_DSP", SDT_MipsDPA>;
 
 // Flags.
-class IsCommutable {
-  bit isCommutable = 1;
-}
-
 class UseAC {
   list<Register> Uses = [AC0];
 }
index 309f9d23e5e940198ab33ccd7c33a35275dfc54b..dc694716a37b9e68a52a678f4db47dafe3c1a117 100644 (file)
@@ -173,6 +173,10 @@ class MipsPat<dag pattern, dag result> : Pat<pattern, result> {
   let Predicates = [HasStdEnc];
 }
 
+class IsCommutable {
+  bit isCommutable = 1;
+}
+
 class IsBranch {
   bit isBranch = 1;
 }