Revert "r227976 - [PowerPC] Yet another approach to __tls_get_addr" and related fixups
authorHal Finkel <hfinkel@anl.gov>
Fri, 6 Feb 2015 23:07:40 +0000 (23:07 +0000)
committerHal Finkel <hfinkel@anl.gov>
Fri, 6 Feb 2015 23:07:40 +0000 (23:07 +0000)
commit9168f717c91489c1ef71f42dbf6fd163f57d0980
tree3a1f8c41cf3ba26114ece43526bd56df3fe74869
parentead6da39e96e67115cd492ee1a08acfd8d8d4839
Revert "r227976 - [PowerPC] Yet another approach to __tls_get_addr" and related fixups

Unfortunately, even with the workaround of disabling the linker TLS
optimizations in Clang restored (which has already been done), this still
breaks self-hosting on my P7 machine (-O3 -DNDEBUG -mcpu=native).

Bill is currently working on an alternate implementation to address the TLS
issue in a way that also fully elides the linker bug (which, unfortunately,
this approach did not fully), so I'm reverting this now.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@228460 91177308-0d34-0410-b5e6-96231b3b80d8
15 files changed:
lib/Target/PowerPC/CMakeLists.txt
lib/Target/PowerPC/PPC.h
lib/Target/PowerPC/PPCAsmPrinter.cpp
lib/Target/PowerPC/PPCFrameLowering.cpp
lib/Target/PowerPC/PPCISelLowering.cpp
lib/Target/PowerPC/PPCISelLowering.h
lib/Target/PowerPC/PPCInstr64Bit.td
lib/Target/PowerPC/PPCInstrInfo.td
lib/Target/PowerPC/PPCMCInstLower.cpp
lib/Target/PowerPC/PPCTLSDynamicCall.cpp [deleted file]
lib/Target/PowerPC/PPCTargetMachine.cpp
test/CodeGen/PowerPC/retaddr2.ll
test/CodeGen/PowerPC/tls-cse.ll [deleted file]
test/CodeGen/PowerPC/tls-pic.ll
test/CodeGen/PowerPC/tls-store2.ll