[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:57:44 PST 2015


On Tue, Dec 15, 2015 at 1:42 PM Tim Shen <timshen at google.com> wrote:

> 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?
>

Sorry, they are PPC::ADJCALLSTACKDOWN and PPC::ADJCALLSTACKUP.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20151215/cbd07749/attachment.html>


More information about the llvm-dev mailing list