OSDN Git Service

Clean up: remove now unnecessary Constraints
authorBruno Cardoso Lopes <bruno.cardoso@gmail.com>
Sat, 19 Jun 2010 00:09:27 +0000 (00:09 +0000)
committerBruno Cardoso Lopes <bruno.cardoso@gmail.com>
Sat, 19 Jun 2010 00:09:27 +0000 (00:09 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@106361 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/X86/X86InstrSSE.td

index 4f20dbe..1c84cc7 100644 (file)
@@ -699,11 +699,10 @@ multiclass sse12_fp_packed<bits<8> opc, string OpcodeStr, SDNode OpNode,
 /// These three forms can each be reg+reg or reg+mem, so there are a total of
 /// six "instructions".
 ///
-let Constraints = "$src1 = $dst" in {
 multiclass basic_sse12_fp_binop_rm<bits<8> opc, string OpcodeStr,
                                  SDNode OpNode, bit Commutable = 0> {
 
-  let Constraints = "", isAsmParserOnly = 1 in {
+  let isAsmParserOnly = 1 in {
     defm V#NAME#SS : sse12_fp_scalar<opc,
         !strconcat(OpcodeStr, "ss\t{$src2, $src1, $dst|$dst, $src1, $src2}"),
                    OpNode, FR32, f32mem>, XS, VEX_4V;
@@ -757,7 +756,6 @@ multiclass basic_sse12_fp_binop_rm<bits<8> opc, string OpcodeStr,
                   "2", "_sd", sdmem, sse_load_f64>, XD;
   }
 }
-}
 
 // Arithmetic instructions
 defm ADD : basic_sse12_fp_binop_rm<0x58, "add", fadd, 1>;