[LLVMdev] Named Register Implementation

Renato Golin renato.golin at linaro.org
Fri Mar 28 09:09:40 PDT 2014


On 28 March 2014 15:56, Krzysztof Parzyszek <kparzysz at codeaurora.org> wrote:
> How are you going to represent the side-effects of such builtins?

Do you mean the possible adverse effects they can have on the program
if you write to the wrong register at the wrong time? I don't think we
should represent it at all.

That brings me to a related question: is there an attribute that makes
sure those intrinsic calls don't get moved around, or hoisted out of
loops, etc? A function or parameter attribute that means the same as
"load volatile"?

cheers,
--renato



More information about the llvm-dev mailing list