From 2a80d7db79f9ed8744101eb8a47a86aa482f7c52 Mon Sep 17 00:00:00 2001 From: Zoran Jovanovic Date: Fri, 28 Feb 2014 18:22:56 +0000 Subject: Fixed operand of SC microMIPS instruction. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@202526 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/Mips/MicroMipsInstrInfo.td | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib/Target/Mips/MicroMipsInstrInfo.td') 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 : } class SCBaseMM : - 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