summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/PowerPC/PPCTargetMachine.cpp
diff options
context:
space:
mode:
authorHal Finkel <hfinkel@anl.gov>2015-02-06 23:07:40 +0000
committerHal Finkel <hfinkel@anl.gov>2015-02-06 23:07:40 +0000
commit0d2a1515d5e677ca60348c60292620cb68a6fb6a (patch)
tree5a8965a7333902f3c9581c6b01341554fd29aec1 /llvm/lib/Target/PowerPC/PPCTargetMachine.cpp
parented218a0da0d4bee104fa84e205af45b54ac21034 (diff)
downloadbcm5719-llvm-0d2a1515d5e677ca60348c60292620cb68a6fb6a.tar.gz
bcm5719-llvm-0d2a1515d5e677ca60348c60292620cb68a6fb6a.zip
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. llvm-svn: 228460
Diffstat (limited to 'llvm/lib/Target/PowerPC/PPCTargetMachine.cpp')
-rw-r--r--llvm/lib/Target/PowerPC/PPCTargetMachine.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/llvm/lib/Target/PowerPC/PPCTargetMachine.cpp b/llvm/lib/Target/PowerPC/PPCTargetMachine.cpp
index f9686686ee8..0dfd8ec9cbe 100644
--- a/llvm/lib/Target/PowerPC/PPCTargetMachine.cpp
+++ b/llvm/lib/Target/PowerPC/PPCTargetMachine.cpp
@@ -266,7 +266,6 @@ void PPCPassConfig::addPreRegAlloc() {
initializePPCVSXFMAMutatePass(*PassRegistry::getPassRegistry());
insertPass(VSXFMAMutateEarly ? &RegisterCoalescerID : &MachineSchedulerID,
&PPCVSXFMAMutateID);
- addPass(createPPCTLSDynamicCallPass());
}
void PPCPassConfig::addPreSched2() {
OpenPOWER on IntegriCloud