summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/AVR
diff options
context:
space:
mode:
authorDylan McKay <me@dylanmckay.io>2019-01-20 03:45:29 +0000
committerDylan McKay <me@dylanmckay.io>2019-01-20 03:45:29 +0000
commitcca7c7338e1a4847bf9a6cd19b88b5fa4d635085 (patch)
tree23eda93639ab4b341de8704325df9cf6901d02e9 /llvm/lib/Target/AVR
parent6afef286d92eb37798928d01bfe6139f005e5c38 (diff)
downloadbcm5719-llvm-cca7c7338e1a4847bf9a6cd19b88b5fa4d635085.tar.gz
bcm5719-llvm-cca7c7338e1a4847bf9a6cd19b88b5fa4d635085.zip
[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. llvm-svn: 351674
Diffstat (limited to 'llvm/lib/Target/AVR')
-rw-r--r--llvm/lib/Target/AVR/AVRInstrInfo.td4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Target/AVR/AVRInstrInfo.td b/llvm/lib/Target/AVR/AVRInstrInfo.td
index b81f32b1f5f..c458fe7de06 100644
--- a/llvm/lib/Target/AVR/AVRInstrInfo.td
+++ b/llvm/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 : 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;
OpenPOWER on IntegriCloud