HomePhabricator

[PowerPC] Allow using initial-exec TLS with PIC

Authored by joerg on Apr 24 2019, 3:12 PM.

Description

[PowerPC] Allow using initial-exec TLS with PIC

Using initial-exec TLS variables is a reasonable performance
optimisation for system libraries. Use the correct PIC mechanism to get
hold of the GOT to avoid text relocations.

Differential Revision: https://reviews.llvm.org/D61026

llvm-svn: 359146

Details

Committed
joergApr 24 2019, 3:12 PM
Differential Revision
D61026: Fix initial-exec in PIC mode for PPC32
Parents
rG2f4967632158: Skip test introduced in r359140 on windows
Branches
Unknown
Tags
Unknown