[llvm] bd10092 - [MSP430] Fix multiclass template parameter types. NFC.

Simon Pilgrim via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 5 08:57:20 PST 2021


Author: Simon Pilgrim
Date: 2021-02-05T16:57:07Z
New Revision: bd1009224ac1e9017815f1eadb48d8dd07d927e0

URL: https://github.com/llvm/llvm-project/commit/bd1009224ac1e9017815f1eadb48d8dd07d927e0
DIFF: https://github.com/llvm/llvm-project/commit/bd1009224ac1e9017815f1eadb48d8dd07d927e0.diff

LOG: [MSP430] Fix multiclass template parameter types. NFC.

Fixes TableGen parser errors reported by D95874.

Added: 
    

Modified: 
    llvm/lib/Target/MSP430/MSP430InstrInfo.td

Removed: 
    


################################################################################
diff  --git a/llvm/lib/Target/MSP430/MSP430InstrInfo.td b/llvm/lib/Target/MSP430/MSP430InstrInfo.td
index aaca3504822d..e7218ca21147 100644
--- a/llvm/lib/Target/MSP430/MSP430InstrInfo.td
+++ b/llvm/lib/Target/MSP430/MSP430InstrInfo.td
@@ -443,7 +443,7 @@ def MOV16mn : I16mn<0b0100, (outs), (ins memdst:$dst, indreg:$rs),
 //===----------------------------------------------------------------------===//
 // Arithmetic Instructions
 
-multiclass Arith<bits<4> opcode, string asmstring, SDNode node,
+multiclass Arith<bits<4> opcode, string asmstring, SDPatternOperator node,
                  bit commutes, list<Register> uses> {
   let Defs = [SR], Uses = uses in {
   let Constraints = "$src2 = $rd" in {


        


More information about the llvm-commits mailing list