[PATCH] D11809: AMDGPU/SI: Remove unused outs parameter from VOPC TableGen classes

Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 7 08:35:16 PDT 2015


This revision was automatically updated to reflect the committed changes.
Closed by commit rL244321: AMDGPU/SI: Remove unused outs parameter from VOPC TableGen classes (authored by tstellar).

Changed prior to commit:
  http://reviews.llvm.org/D11809?vs=31459&id=31515#toc

Repository:
  rL LLVM

http://reviews.llvm.org/D11809

Files:
  llvm/trunk/lib/Target/AMDGPU/SIInstrInfo.td

Index: llvm/trunk/lib/Target/AMDGPU/SIInstrInfo.td
===================================================================
--- llvm/trunk/lib/Target/AMDGPU/SIInstrInfo.td
+++ llvm/trunk/lib/Target/AMDGPU/SIInstrInfo.td
@@ -1614,18 +1614,18 @@
 } // End isCodeGenOnly = 0
 }
 
-class VOPC_Pseudo <dag outs, dag ins, list<dag> pattern, string opName> :
+class VOPC_Pseudo <dag ins, list<dag> pattern, string opName> :
   VOPCCommon <ins, "", pattern>,
   VOP <opName>,
   SIMCInstr<opName#"_e32", SISubtarget.NONE>,
   MnemonicAlias<opName#"_e32", opName> {
   let isPseudo = 1;
   let isCodeGenOnly = 1;
 }
 
-multiclass VOPC_m <vopc op, dag outs, dag ins, string asm, list<dag> pattern,
+multiclass VOPC_m <vopc op, dag ins, string asm, list<dag> pattern,
                    string opName, bit DefExec, string revOpName = ""> {
-  def "" : VOPC_Pseudo <outs, ins, pattern, opName>;
+  def "" : VOPC_Pseudo <ins, pattern, opName>;
 
   def _si : VOPC<op.SI, ins, asm, []>,
             SIMCInstr <opName#"_e32", SISubtarget.SI> {
@@ -1644,7 +1644,7 @@
                         dag ins32, string asm32, list<dag> pat32,
                         dag out64, dag ins64, string asm64, list<dag> pat64,
                         bit HasMods, bit DefExec, string revOp> {
-  defm _e32 : VOPC_m <op, (outs), ins32, opName#asm32, pat32, opName, DefExec>;
+  defm _e32 : VOPC_m <op, ins32, opName#asm32, pat32, opName, DefExec>;
 
   defm _e64 : VOP3_C_m <op, out64, ins64, opName#asm64, pat64,
                         opName, HasMods, DefExec, revOp>;
@@ -1656,7 +1656,7 @@
                              dag ins32, string asm32, list<dag> pat32,
                              dag out64, dag ins64, string asm64, list<dag> pat64,
                              bit HasMods, bit DefExec, string revOp> {
-  defm _e32 : VOPC_m <op, (outs), ins32, opName#asm32, pat32, opName, DefExec>;
+  defm _e32 : VOPC_m <op, ins32, opName#asm32, pat32, opName, DefExec>;
 
   defm _e64 : VOP3_C_m <op, out64, ins64, opName#asm64, pat64,
                         opName, HasMods, DefExec, revOp>,


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D11809.31515.patch
Type: text/x-patch
Size: 2067 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150807/38d4ea43/attachment.bin>


More information about the llvm-commits mailing list