[llvm-dev] [PPC64] mflr gets scheduled after __tls_get_addr call

Tim Shen via llvm-dev llvm-dev at lists.llvm.org
Tue Dec 15 13:42:37 PST 2015


Hi,

I got a minimized test case that's causing miscompiled TLS initialization
code: https://gist.github.com/innocentim/939ebbff1e312801bafe

Should I just insert PPC::STACKCALLDOWN AND PPC::STACKCALLUP
into ppc-tls-dynamic-call? I'm not quite sure if the frame size is simply 0?

Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20151215/f33e2053/attachment.html>


More information about the llvm-dev mailing list