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

Ben Shi via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 3 21:46:05 PST 2020


benshi001 marked an inline comment as done.
benshi001 added inline comments.


================
Comment at: llvm/lib/Target/AVR/AVRExpandPseudoInsts.cpp:442
+  // SREG is always implicitly dead
+  MIBLO->getOperand(2).setIsDead();
+
----------------
aykevl wrote:
> I do not think this is true: the C flag (part of SREG) is used in sbci.
Fixed. Thanks.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D88658/new/

https://reviews.llvm.org/D88658



More information about the llvm-commits mailing list