]> granicus.if.org Git - llvm/commitdiff
[AVR] Replace two references to ARM's 't2_so_imm' type comments
authorDylan McKay <me@dylanmckay.io>
Sun, 20 Jan 2019 03:45:29 +0000 (03:45 +0000)
committerDylan McKay <me@dylanmckay.io>
Sun, 20 Jan 2019 03:45:29 +0000 (03:45 +0000)
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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@351674 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/AVR/AVRInstrInfo.td

index b81f32b1f5fa33cfc0481dc529de42e3796b9039..c458fe7de068e4811264f2f20c2bda97c68f7a00 100644 (file)
@@ -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;