From: Dylan McKay Date: Sun, 20 Jan 2019 03:45:29 +0000 (+0000) Subject: [AVR] Replace two references to ARM's 't2_so_imm' type comments X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=15b1c3ce676f2e0ca7fbc5903c853586d3b33006;p=llvm [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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@351674 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/AVR/AVRInstrInfo.td b/lib/Target/AVR/AVRInstrInfo.td index b81f32b1f5f..c458fe7de06 100644 --- a/lib/Target/AVR/AVRInstrInfo.td +++ b/lib/Target/AVR/AVRInstrInfo.td @@ -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 : SDNodeXFormgetTargetConstant(~((uint8_t)N->getZExtValue()), SDLoc(N), MVT::i8); @@ -99,7 +99,7 @@ def imm_com8_XFORM : SDNodeXForm 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 { let ParserMatchClass = imm_com8_asmoperand;