[LLVMdev] [cfe-dev] Named register variables GNU-style

Renato Golin renato.golin at linaro.org
Fri Mar 28 03:05:42 PDT 2014


On 27 March 2014 18:02, Rafael EspĂ­ndola <rafael.espindola at gmail.com> wrote:
> I guess the best would probably be a metadata string, that way we are
> sure we don't actually output anything.

Hi Rafael,

I don't get the risk here, why would that risk any output?

I can see that the @llvm.annotation intrinsics use metadata for text,
but they discard them on use. It may be simpler to get an MDNode and
convert it into text, but if the intrinsic is *always*
converted-or-fail, I don't understand how it could output any unwanted
values.

cheers,
--renato




More information about the llvm-dev mailing list