[PATCH] D116399: [AVR] Fix a bug of register allocation

Ben Shi via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 30 04:05:59 PST 2021


benshi001 added inline comments.


================
Comment at: llvm/lib/Target/AVR/AVRISelDAGToDAG.cpp:185
+    if (Offs == 2)
+      Opcode = AVR::LPMWRdZPi;
     break;
----------------
This form is better for future patches which will add `ELPM`.


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

https://reviews.llvm.org/D116399



More information about the llvm-commits mailing list