diff options
author | Akira Hatanaka <ahatanaka@mips.com> | 2012-12-13 00:32:01 +0000 |
---|---|---|
committer | Akira Hatanaka <ahatanaka@mips.com> | 2012-12-13 00:32:01 +0000 |
commit | 0232064e6f85a7c8e3815fd7decceba5bba2af26 (patch) | |
tree | 9fc5f4b1e607e8aee6115bf92891d485174ec91a /lib | |
parent | 6085780a91c722839b3f9f2dca33b974a083df82 (diff) | |
download | external_llvm-0232064e6f85a7c8e3815fd7decceba5bba2af26.zip external_llvm-0232064e6f85a7c8e3815fd7decceba5bba2af26.tar.gz external_llvm-0232064e6f85a7c8e3815fd7decceba5bba2af26.tar.bz2 |
[mips] Move class IsCommutable into MipsInstrInfo.td.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@170054 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Target/Mips/MipsDSPInstrInfo.td | 4 | ||||
-rw-r--r-- | lib/Target/Mips/MipsInstrInfo.td | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/lib/Target/Mips/MipsDSPInstrInfo.td b/lib/Target/Mips/MipsDSPInstrInfo.td index ef94028..e28a138 100644 --- a/lib/Target/Mips/MipsDSPInstrInfo.td +++ b/lib/Target/Mips/MipsDSPInstrInfo.td @@ -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]; } diff --git a/lib/Target/Mips/MipsInstrInfo.td b/lib/Target/Mips/MipsInstrInfo.td index 309f9d2..dc69471 100644 --- a/lib/Target/Mips/MipsInstrInfo.td +++ b/lib/Target/Mips/MipsInstrInfo.td @@ -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; } |