[PATCH] [PowerPC] Replace foul hackery with real calls to __tls_get_addr

Rafael EspĂ­ndola rafael.espindola at gmail.com
Tue Nov 11 11:58:51 PST 2014


On 11 November 2014 14:54, Bill Schmidt <wschmidt at linux.vnet.ibm.com> wrote:
> This version addresses the comments I've received, with the exception of the one from Rafael.  I looked at this again and still couldn't think of a good way to pass the TGA through LowerCallTo.  I'm willing to do this if anyone has a good idea, but for now this is what I've got.

Well, I just noticed you have an assert:

TGTAddr.getNode()->getOpcode() == ISD::TargetGlobalTLSAddress

So I am fine with it since it will fail loudly if something changes.

Cheers,
Rafael




More information about the llvm-commits mailing list