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

Ayke via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 3 17:55:27 PST 2020


aykevl added inline comments.


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


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

https://reviews.llvm.org/D88658



More information about the llvm-commits mailing list