summaryrefslogtreecommitdiff
path: root/lib/Target/Mips/Mips64InstrInfo.td
diff options
context:
space:
mode:
authorDaniel Sanders <daniel.sanders@imgtec.com>2014-04-10 15:00:28 +0000
committerDaniel Sanders <daniel.sanders@imgtec.com>2014-04-10 15:00:28 +0000
commitd95a78ca52cf3c6420ae97e4d1995f863b7407a1 (patch)
treeb0b7720c28d4565aa922146444c52f362a8d6d53 /lib/Target/Mips/Mips64InstrInfo.td
parente2d124d396d23b784611e8d17b6076579b0a4c60 (diff)
downloadllvm-d95a78ca52cf3c6420ae97e4d1995f863b7407a1.tar.gz
llvm-d95a78ca52cf3c6420ae97e4d1995f863b7407a1.tar.bz2
llvm-d95a78ca52cf3c6420ae97e4d1995f863b7407a1.tar.xz
[mips] NotMips64 predicate is really a test for 32-bit GPR's.
Summary: Similarly, the HasMips64 on the 64-bit move InstAlias is a test for 64-bit GPR's. No functional change. Reviewers: matheusalmeida Reviewed By: matheusalmeida Differential Revision: http://reviews.llvm.org/D3263 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@205968 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/Mips/Mips64InstrInfo.td')
-rw-r--r--lib/Target/Mips/Mips64InstrInfo.td2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/Mips/Mips64InstrInfo.td b/lib/Target/Mips/Mips64InstrInfo.td
index c560376172..06a4c6824d 100644
--- a/lib/Target/Mips/Mips64InstrInfo.td
+++ b/lib/Target/Mips/Mips64InstrInfo.td
@@ -409,7 +409,7 @@ def : MipsPat<(bswap GPR64:$rt), (DSHD (DSBH GPR64:$rt))>;
//===----------------------------------------------------------------------===//
def : InstAlias<"move $dst, $src",
(DADDu GPR64Opnd:$dst, GPR64Opnd:$src, ZERO_64), 1>,
- Requires<[HasMips64]>;
+ Requires<[IsGP64]>;
def : InstAlias<"daddu $rs, $rt, $imm",
(DADDiu GPR64Opnd:$rs, GPR64Opnd:$rt, simm16_64:$imm),
0>;