[PATCH] Implement Named Register Global Variables in LLVM

Rafael EspĂ­ndola rafael.espindola at gmail.com
Tue May 6 07:11:58 PDT 2014


On 6 May 2014 10:06, Renato Golin <renato.golin at linaro.org> wrote:
> + Reduce even further the scope of the warning.
>
> I don't want to add anything regarding future implementations to avoid people asking for it later.
Agreed.

+The compiler doesn't check for register availability or use of the used
+register in surrounding code, including inline assembly.

Please also explicitly say that allocatable registers are not
supported. GCC uses the same syntax for both, so it is important to
make it clear that we don't support that.

+Warning: So far it only works with the stack pointer on selected
+architectures (ARM, ARM64, x86_64 and AArch64).

And this is perfectly fine for covering the other current limitation.



More information about the llvm-commits mailing list