OSDN Git Service

[PowerPC] Optimize TLS initial-exec sequence to use X-Form loads/stores
authorZaara Syeda <syzaara@ca.ibm.com>
Thu, 15 Mar 2018 15:34:41 +0000 (15:34 +0000)
committerZaara Syeda <syzaara@ca.ibm.com>
Thu, 15 Mar 2018 15:34:41 +0000 (15:34 +0000)
commitffb3337b41ab706148bc1dfeed64aceee8c3c9e3
treeaa856dcac002677b88f642f3684673b874df900c
parent258a13c8f29d00f76c999a6d3914107509c919e2
[PowerPC] Optimize TLS initial-exec sequence to use X-Form loads/stores

This patch adds new load/store instructions for integer scalar types
which can be used for X-Form when fed by add with an @tls relocation.

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@327635 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/PowerPC/PPCISelDAGToDAG.cpp
lib/Target/PowerPC/PPCInstr64Bit.td
test/CodeGen/PowerPC/tls-pie-xform.ll [new file with mode: 0644]