From 3984ee8400df7741ffff2bc2e04fded296b34619 Mon Sep 17 00:00:00 2001
From: Simon Pilgrim <llvm-dev@redking.me.uk>
Date: Sun, 26 Nov 2017 19:22:37 +0000
Subject: [PATCH] [X86][3DNow] Remove unused I3DNow_binop_rm/I3DNow_conv_rm
 templates. NFCI

llvm-svn: 319000
---
 llvm/lib/Target/X86/X86Instr3DNow.td | 11 -----------
 1 file changed, 11 deletions(-)

diff --git a/llvm/lib/Target/X86/X86Instr3DNow.td b/llvm/lib/Target/X86/X86Instr3DNow.td
index 08b501ff20bf..36c7adc31722 100644
--- a/llvm/lib/Target/X86/X86Instr3DNow.td
+++ b/llvm/lib/Target/X86/X86Instr3DNow.td
@@ -33,11 +33,6 @@ class I3DNow_conv<bits<8> o, Format F, dag ins, string Mnemonic, list<dag> pat>
   let isAsmParserOnly = 1;
 }
 
-multiclass I3DNow_binop_rm<bits<8> opc, string Mn> {
-  def rr : I3DNow_binop<opc, MRMSrcReg, (ins VR64:$src1, VR64:$src2), Mn, []>;
-  def rm : I3DNow_binop<opc, MRMSrcMem, (ins VR64:$src1, i64mem:$src2), Mn, []>;
-}
-
 multiclass I3DNow_binop_rm_int<bits<8> opc, string Mn, bit Commutable = 0,
                                string Ver = ""> {
   let isCommutable = Commutable in
@@ -50,11 +45,6 @@ multiclass I3DNow_binop_rm_int<bits<8> opc, string Mn, bit Commutable = 0,
         (bitconvert (load_mmx addr:$src2))))]>;
 }
 
-multiclass I3DNow_conv_rm<bits<8> opc, string Mn> {
-  def rr : I3DNow_conv<opc, MRMSrcReg, (ins VR64:$src1), Mn, []>;
-  def rm : I3DNow_conv<opc, MRMSrcMem, (ins i64mem:$src1), Mn, []>;
-}
-
 multiclass I3DNow_conv_rm_int<bits<8> opc, string Mn, string Ver = ""> {
   def rr : I3DNow_conv<opc, MRMSrcReg, (ins VR64:$src), Mn,
     [(set VR64:$dst, (!cast<Intrinsic>(
@@ -85,7 +75,6 @@ defm PFSUBR   : I3DNow_binop_rm_int<0xAA, "pfsubr", 1>;
 defm PI2FD    : I3DNow_conv_rm_int<0x0D, "pi2fd">;
 defm PMULHRW  : I3DNow_binop_rm_int<0xB7, "pmulhrw", 1>;
 
-
 def FEMMS : I3DNow<0x0E, RawFrm, (outs), (ins), "femms",
                    [(int_x86_mmx_femms)]>;