diff options
author | Zoran Jovanovic <zoran.jovanovic@imgtec.com> | 2014-02-28 18:22:56 +0000 |
---|---|---|
committer | Zoran Jovanovic <zoran.jovanovic@imgtec.com> | 2014-02-28 18:22:56 +0000 |
commit | 2a80d7db79f9ed8744101eb8a47a86aa482f7c52 (patch) | |
tree | d7567234b043a027fce4c5e81f5d6baf399d3a3c /lib/Target/Mips/MicroMipsInstrInfo.td | |
parent | 0164f27742eee258409466b1a3a63bec222e84d2 (diff) | |
download | llvm-2a80d7db79f9ed8744101eb8a47a86aa482f7c52.tar.gz llvm-2a80d7db79f9ed8744101eb8a47a86aa482f7c52.tar.bz2 llvm-2a80d7db79f9ed8744101eb8a47a86aa482f7c52.tar.xz |
Fixed operand of SC microMIPS instruction.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@202526 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/Mips/MicroMipsInstrInfo.td')
-rw-r--r-- | lib/Target/Mips/MicroMipsInstrInfo.td | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Target/Mips/MicroMipsInstrInfo.td b/lib/Target/Mips/MicroMipsInstrInfo.td index 639e3deb75..4147405571 100644 --- a/lib/Target/Mips/MicroMipsInstrInfo.td +++ b/lib/Target/Mips/MicroMipsInstrInfo.td @@ -53,10 +53,11 @@ class LLBaseMM<string opstr, RegisterOperand RO> : } class SCBaseMM<string opstr, RegisterOperand RO> : - InstSE<(outs), (ins RO:$rt, mem_mm_12:$addr), + InstSE<(outs RO:$dst), (ins RO:$rt, mem_mm_12:$addr), !strconcat(opstr, "\t$rt, $addr"), [], NoItinerary, FrmI> { let DecoderMethod = "DecodeMemMMImm12"; let mayStore = 1; + let Constraints = "$rt = $dst"; } class LoadMM<string opstr, DAGOperand RO, SDPatternOperator OpNode = null_frag, |