[PATCH] D88658: [AVR] Optimize the 16-bit NEGW pseudo instruction

Ben Shi via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 1 07:43:19 PDT 2020


benshi001 created this revision.
benshi001 added reviewers: dylanmckay, aykevl.
Herald added subscribers: llvm-commits, Jim, hiraditya.
Herald added a project: LLVM.
benshi001 requested review of this revision.

Optimize "NEGW 'Rd+1 : Rd' to

neg  Rd+1
neg  Rd
sbci Rd+1, 0


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D88658

Files:
  llvm/lib/Target/AVR/AVRExpandPseudoInsts.cpp
  llvm/lib/Target/AVR/AVRInstrInfo.td
  llvm/test/CodeGen/AVR/pseudo/NEGWRd.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D88658.295571.patch
Type: text/x-patch
Size: 3610 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201001/e80db131/attachment.bin>


More information about the llvm-commits mailing list