<div dir="ltr">Hi all,<div><br></div><div>I'm trying to see if I can use a global static base register instead of PC-relative addressing. I see that I can easily reserve R9 in the ARM Subtarget, but this doesn't let me use it. I found a TODO in ARMAsmPrinter.cpp that refers to this:</div><div><div>  // TODO: We currently only support either reserving the register, or treating</div><div>  // it as another callee-saved register, but not as SB or a TLS pointer</div></div><div><br></div><div>Has anyone tried to do this before? Any pointers or suggestions? I figured I would check with the list before diving into implementation.</div><div><br></div><div>Thanks,</div><div>Stephen</div></div>