llvm.org GIT mirror llvm / 15b1c3c
[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 Dylan McKay 1 year, 10 months ago
1 changed file(s) with 2 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
8888
8989 def uimm6 : PatLeaf<(imm), [{ return isUInt<6>(N->getZExtValue()); }]>;
9090
91 // imm_com8_XFORM - Return the complement of a t2_so_imm value
91 // imm_com8_XFORM - Return the complement of a imm_com8 value
9292 def imm_com8_XFORM : SDNodeXForm
9393 return CurDAG->getTargetConstant(~((uint8_t)N->getZExtValue()), SDLoc(N),
9494 MVT::i8);
9898 // of a 8-bit immediate.
9999 // Note: this pattern doesn't require an encoder method and such, as it's
100100 // only used on aliases (Pat<> and InstAlias<>). The actual encoding
101 // is handled by the destination instructions, which use t2_so_imm.
101 // is handled by the destination instructions, which use imm_com8.
102102 def imm_com8_asmoperand : AsmOperandClass { let Name = "ImmCom8"; }
103103 def imm_com8 : Operand {
104104 let ParserMatchClass = imm_com8_asmoperand;