[LLVMdev] Bind a LLVM variable to a CPU register

Anton Korobeynikov anton at korobeynikov.info
Thu Jul 19 11:56:37 PDT 2012


> E.g.,
> register int i;
> ...
>
> Whether it will be register allocated is totally up to the compiler,
> with respect to the rest of the program.
Yeah, e.g. clang just ignores "register" keyword :)

-- 
With best regards, Anton Korobeynikov
Faculty of Mathematics and Mechanics, Saint Petersburg State University



More information about the llvm-dev mailing list