[llvm] r261387 - [X86ISelLowering] Fix TLSADDR lowering when shrink-wrapping is enabled.
Hans Wennborg via llvm-commits
llvm-commits at lists.llvm.org
Mon Feb 22 09:56:15 PST 2016
On Fri, Feb 19, 2016 at 5:01 PM, Hans Wennborg <hans at chromium.org> wrote:
> On Fri, Feb 19, 2016 at 4:50 PM, Davide Italiano <davide at freebsd.org> wrote:
>> On Fri, Feb 19, 2016 at 4:44 PM, Davide Italiano via llvm-commits
>> <llvm-commits at lists.llvm.org> wrote:
>>> Author: davide
>>> Date: Fri Feb 19 18:44:47 2016
>>> New Revision: 261387
>>> URL: http://llvm.org/viewvc/llvm-project?rev=261387&view=rev
>>> [X86ISelLowering] Fix TLSADDR lowering when shrink-wrapping is enabled.
>>> TLSADDR nodes are lowered into actuall calls inside MC. In order to prevent
>>> shrink-wrapping from pushing prologue/epilogue past them (which result
>>> in TLS variables being accessed before the stack frame is set up), we
>>> put markers, so that the stack gets adjusted properly.
>>> Thanks to Quentin Colombet for guidance/help on how to fix this problem!
>> + Hans for 3.8 backport.
> Many thanks! I'll let this bake in the tree for a bit, and then I'll merge.
Merged in r261542.
More information about the llvm-commits