[PATCH] D114611: [AVR] Expand STDWSPQRr & STDSPQRr, approach #2

Ben Shi via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sat Mar 19 06:19:05 PDT 2022


benshi001 added inline comments.


================
Comment at: llvm/lib/Target/AVR/AVRExpandPseudoInsts.cpp:1234
+
+  MachineOperand &Dst = MI.getOperand(0);
+  Register DstReg = Dst.getReg();
----------------
Why we need an extra `Dst` local variable here? I did not find there is any more use besides `.getReg()` .


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D114611



More information about the cfe-commits mailing list