[PATCH] D96957: [AVR] Fix rotate instructions

Ben Shi via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Feb 21 06:56:15 PST 2021


benshi001 added inline comments.


================
Comment at: llvm/lib/Target/AVR/AVRExpandPseudoInsts.cpp:1348
+  // Move the T bit into the highest bit of DstReg.
+  buildMI(MBB, MBBI, AVR::BLD, DstReg).addReg(DstReg).addImm(7);
 
----------------
Do we need to set dead/kill flags for DstReg in those buildMI ?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D96957



More information about the llvm-commits mailing list