[PATCH] D68862: [ARM] Allocatable Global Register Variables for ARM

Carey Williams via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 14 08:06:39 PDT 2019


carwil added a comment.

> IMHO, since reserved registes are per-function, this strongly suggests implementation as function attribute(s), rather than subtarget features (also for the pre-existing r9).

What do you mean reserved registers are per-function? That sounds like you're describing local register variables, which I don't believe Clang has any support for (and there aren't a great deal of use-cases for anyway). We're specifically talking about global usage here.


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

https://reviews.llvm.org/D68862





More information about the llvm-commits mailing list