[PATCH] D117957: [AVR] Remove unused register scavenger
Ben Shi via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Nov 24 23:26:48 PST 2022
benshi001 accepted this revision.
benshi001 added a comment.
This revision is now accepted and ready to land.
LGTM. Thanks.
================
Comment at: llvm/lib/Target/AVR/AVRInstrInfo.td:1682
+ let Constraints = "@earlyclobber $dst" in
def LPMWRdZ : Pseudo<(outs DREGS
----------------
aykevl wrote:
> 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).
I think `@earlyclobber` is fine.
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