[PATCH] D118354: [AVR][NFC] Fix incorrect register states in expanding pseudo instructions

Ben Shi via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 10 20:41:26 PST 2022


benshi001 added inline comments.


================
Comment at: llvm/lib/Target/AVR/AVRExpandPseudoInsts.cpp:2094
+    if (SrcReg != DstLoReg && SrcIsKill)
+      MOV->getOperand(1).setIsKill();
   }
----------------
The `SrcReg` should not be set killed when `SrcReg==DstLoReg`.


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

https://reviews.llvm.org/D118354



More information about the llvm-commits mailing list