OSDN Git Service

[CXX_FAST_TLS] Fix issues in ARM.
authorManman Ren <manman.ren@gmail.com>
Fri, 18 Mar 2016 23:44:37 +0000 (23:44 +0000)
committerManman Ren <manman.ren@gmail.com>
Fri, 18 Mar 2016 23:44:37 +0000 (23:44 +0000)
commitd63e0d27423a25e366aab8f418eeb5f9607d7fe3
tree2597c8b3a788ab9e21cee672ba8cf8fbc6955c0d
parent6b646dc5c5acd2d43765ab14754525893557ff0e
[CXX_FAST_TLS] Fix issues in ARM.

We need to be careful on which registers can be explicitly handled
via copies. Prologue, Epilogue use physical registers and if one belongs
to the set of CSRsViaCopy, it will no longer be CSRed, since PEI overwrites
it after the explicit copies.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@263857 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/ARMCallingConv.td
test/CodeGen/ARM/cxx-tlscc.ll