[llvm] r351674 - [AVR] Replace two references to ARM's 't2_so_imm' type comments

Dylan McKay via llvm-commits llvm-commits at lists.llvm.org
Sat Jan 19 19:45:30 PST 2019


Author: dylanmckay
Date: Sat Jan 19 19:45:29 2019
New Revision: 351674

URL: http://llvm.org/viewvc/llvm-project?rev=351674&view=rev
Log:
[AVR] Replace two references to ARM's 't2_so_imm' type comments

These were originally introduced in a copy-paste committed in r351526.

The reference to 't2_so_imm' have been updated to 'imm_com8' so the
comment is now accurate.

Thanks to Eli Friedman for noticing this.

Modified:
    llvm/trunk/lib/Target/AVR/AVRInstrInfo.td

Modified: llvm/trunk/lib/Target/AVR/AVRInstrInfo.td
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/AVR/AVRInstrInfo.td?rev=351674&r1=351673&r2=351674&view=diff
==============================================================================
--- llvm/trunk/lib/Target/AVR/AVRInstrInfo.td (original)
+++ llvm/trunk/lib/Target/AVR/AVRInstrInfo.td Sat Jan 19 19:45:29 2019
@@ -89,7 +89,7 @@ def imm0_63_neg : PatLeaf<(imm),
 
 def uimm6 : PatLeaf<(imm), [{ return isUInt<6>(N->getZExtValue()); }]>;
 
-// imm_com8_XFORM - Return the complement of a t2_so_imm value
+// imm_com8_XFORM - Return the complement of a imm_com8 value
 def imm_com8_XFORM : SDNodeXForm<imm, [{
   return CurDAG->getTargetConstant(~((uint8_t)N->getZExtValue()), SDLoc(N),
                                    MVT::i8);
@@ -99,7 +99,7 @@ def imm_com8_XFORM : SDNodeXForm<imm, [{
 // of a 8-bit immediate.
 // Note: this pattern doesn't require an encoder method and such, as it's
 // only used on aliases (Pat<> and InstAlias<>). The actual encoding
-// is handled by the destination instructions, which use t2_so_imm.
+// is handled by the destination instructions, which use imm_com8.
 def imm_com8_asmoperand : AsmOperandClass { let Name = "ImmCom8"; }
 def imm_com8 : Operand<i8> {
   let ParserMatchClass = imm_com8_asmoperand;




More information about the llvm-commits mailing list