[PATCH] D138582: [AVR] Do not use R0/R1 on avrtiny

Ayke via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Nov 27 08:00:24 PST 2022


aykevl added a comment.

I have updated the patch. You are correct about the zero register in interrupts, I must have incorrectly remembered the other behavior. Unfortunately, fixing that also meant changing NEGW and ROLB.
I still think it should be safe to omit saving/restoring R17 <https://reviews.llvm.org/source/LLVM.org/> but I might do that in a separate patch.


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

https://reviews.llvm.org/D138582



More information about the llvm-commits mailing list