[PATCH] Implement Named Register Global Variables in LLVM

Renato Golin renato.golin at linaro.org
Fri May 2 03:45:26 PDT 2014


Hi Rafael,

I'll try to make two versions (32/64) and see how it goes.

About the "stack" pseudo register, I created it because I didn't want to burden the front-end to detect what class of registers are valid on each backend, and since I was already checking it, why not? Even if Clang has this knowledge, not necessarily all other front-ends might want to, and they might want to use the stack register in target independent code.

cheers,
--renato

http://reviews.llvm.org/D3261






More information about the llvm-commits mailing list