Remove isTwoAddress from XCore.
authorEric Christopher <echristo@apple.com>
Mon, 21 Jun 2010 18:51:38 +0000 (18:51 +0000)
committerEric Christopher <echristo@apple.com>
Mon, 21 Jun 2010 18:51:38 +0000 (18:51 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@106446 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/XCore/XCoreInstrInfo.td

index dd3cbc1699087f8678a07cf0361af3bcbaa3a7fb..19b9b1f8c00c66784b0f574fea04b650bc15fd78 100644 (file)
@@ -733,7 +733,7 @@ def NEG : _F2R<(outs GRRegs:$dst), (ins GRRegs:$b),
 // TODO setd, eet, eef, getts, setpt, outct, inct, chkct, outt, intt, out,
 // in, outshr, inshr, testct, testwct, tinitpc, tinitdp, tinitsp, tinitcp,
 // tsetmr, sext (reg), zext (reg)
-let isTwoAddress = 1 in {
+let Constraints = "$src1 = $dst" in {
 let neverHasSideEffects = 1 in
 def SEXT_rus : _FRUS<(outs GRRegs:$dst), (ins GRRegs:$src1, i32imm:$src2),
                  "sext $dst, $src2",