This patch is the initial support for the General Dynamic Thread Local
Local Storage model to produce code sequence and relocations correct
to the ABI for the model when using PC relative memory operations.
Patch by: NeHuang
kamaub on Jun 22 2020, 9:46 AM.Authored by
Bunch of nits but overall the idea is fine. I only had one real concern with respect to the setup of InReg and you can find that in the comments.
I think the tests can be cleaned up a little but otherwise this LGTM.
Addressing review comments and updating test cases: