[PATCH] D109606: [Lanai] NFC: Remove unused tblgen template arg 'OpNode'

Cullen Rhodes via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 10 06:55:41 PDT 2021


c-rhodes created this revision.
c-rhodes added a reviewer: jpienaar.
Herald added a subscriber: hiraditya.
c-rhodes requested review of this revision.
Herald added a project: LLVM.

Identified in D109359 <https://reviews.llvm.org/D109359>.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D109606

Files:
  llvm/lib/Target/Lanai/LanaiInstrInfo.td


Index: llvm/lib/Target/Lanai/LanaiInstrInfo.td
===================================================================
--- llvm/lib/Target/Lanai/LanaiInstrInfo.td
+++ llvm/lib/Target/Lanai/LanaiInstrInfo.td
@@ -269,7 +269,7 @@
 // -------------------------------------------------- //
 // ALU instructions
 // -------------------------------------------------- //
-multiclass ALUbase<bits<3> subOp, string AsmStr, SDNode OpNode,
+multiclass ALUbase<bits<3> subOp, string AsmStr,
                    PatLeaf LoExt, PatLeaf HiExt,
                    list<dag> loPattern, list<dag> hiPattern> {
   // Register Immediate
@@ -286,7 +286,7 @@
 
 multiclass ALUarith<bits<3> subOp, string AsmStr, SDNode OpNode,
                     PatLeaf LoExt, PatLeaf HiExt> {
-  defm I_ : ALUbase<subOp, AsmStr, OpNode, LoExt, HiExt, [], []>;
+  defm I_ : ALUbase<subOp, AsmStr, LoExt, HiExt, [], []>;
 
   // Register Register
   let JJJJJ = 0 in
@@ -297,7 +297,7 @@
 
 multiclass ALUlogic<bits<3> subOp, string AsmStr, SDNode OpNode,
                     PatLeaf LoExt, PatLeaf HiExt> {
-  defm I_ : ALUbase<subOp, AsmStr, OpNode, LoExt, HiExt,
+  defm I_ : ALUbase<subOp, AsmStr, LoExt, HiExt,
                     [(set GPR:$Rd, (OpNode GPR:$Rs1, LoExt:$imm16))],
                     [(set GPR:$Rd, (OpNode GPR:$Rs1, HiExt:$imm16))]>;
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D109606.371918.patch
Type: text/x-patch
Size: 1321 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210910/2ec1367e/attachment.bin>


More information about the llvm-commits mailing list