[PATCH] D137810: [AArch64] Correctly recognize -reserve-regs-for-regalloc=X30,X29

Dave Green via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 21 22:38:58 PST 2022


dmgreen accepted this revision.
dmgreen added a comment.
This revision is now accepted and ready to land.

Oh I see, because the order of the registers means that AArch64::X0+30 != LR.

I'm not sure if it really makes a lot of sense to reserve these regs, but this sounds like a good fix. LGTM.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D137810



More information about the llvm-commits mailing list