[PATCH] D117957: [AVR] Remove unused register scavenger

Ayke via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 23 09:25:19 PST 2022


aykevl added inline comments.


================
Comment at: llvm/lib/Target/AVR/AVRInstrInfo.td:1682
 
+    let Constraints = "@earlyclobber $dst" in
     def LPMWRdZ : Pseudo<(outs DREGS
----------------
I tried `$dst != $z` but that led to a "ran out of registers during register allocation" assert. So I'm using `@earlyclobber` instead (even though it is slightly more conservative).


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D117957



More information about the llvm-commits mailing list