[X86] Correctly model TLS calls w.r.t. frame requirements.
authorQuentin Colombet <qcolombet@apple.com>
Wed, 6 Jan 2016 19:09:26 +0000 (19:09 +0000)
committerQuentin Colombet <qcolombet@apple.com>
Wed, 6 Jan 2016 19:09:26 +0000 (19:09 +0000)
commit4377f132aec969234d7838fb133e546313df3b42
tree99ce600608d2e35fc7171d8b51d7083e9bdcbacb
parentd8f6d5cdd7114f8e31f75f76752738170e83c8e9
[X86] Correctly model TLS calls w.r.t. frame requirements.
TLS calls need the stack frame to be properly set up and this
implies that such calls need ADJUSTSTACK_xxx markers.

Fixes PR25820.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@256959 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86ISelLowering.cpp
test/CodeGen/X86/cxx_tlscc64.ll
test/CodeGen/X86/x86-shrink-wrapping.ll