[PATCH] D114611: [AVR] Expand STDWSPQRr & STDSPQRr, approach #2
Ben Shi via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sat Mar 19 07:10:27 PDT 2022
benshi001 added inline comments.
================
Comment at: llvm/lib/Target/AVR/AVRExpandPseudoInsts.cpp:1253
+ .addReg(DstReg, RegState::Define)
+ .addReg(DstReg)
+ .addImm(-Imm);
----------------
```
buildMI(MBB, MBBI, AVR::SBCIWRdK)
.addReg(DstReg, RegState::Define)
.addReg(DstReg, RegState::Kill)
.addImm(-Imm);
```
The original DstReg is indeed killed.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D114611/new/
https://reviews.llvm.org/D114611
More information about the llvm-commits
mailing list