[PowerPC][PCRelative] Thread Local Storage Support for Local Dynamic
authorVictor Huang <wei.huang@ibm.com>
Wed, 23 Sep 2020 18:43:33 +0000 (13:43 -0500)
committerVictor Huang <wei.huang@ibm.com>
Wed, 23 Sep 2020 18:48:06 +0000 (13:48 -0500)
commit652a8f150d4903abb53697ef1762026c6f5e716c
treec472c9ea81d849112802ed7514b6c8f85572ae32
parent6ada9e516f495eb6aa63e0c3e3edf3e3ae3c1a63
[PowerPC][PCRelative] Thread Local Storage Support for Local Dynamic

This patch is the initial support for the Local Dynamic Thread Local Storage
model to produce code sequence and relocation correct to the ABI for the model
when using PC relative memory operations.

Differential Revision: https://reviews.llvm.org/D87721
16 files changed:
llvm/include/llvm/BinaryFormat/ELFRelocs/PowerPC64.def
llvm/include/llvm/MC/MCExpr.h
llvm/lib/MC/MCExpr.cpp
llvm/lib/Target/PowerPC/MCTargetDesc/PPCELFObjectWriter.cpp
llvm/lib/Target/PowerPC/MCTargetDesc/PPCMCCodeEmitter.cpp
llvm/lib/Target/PowerPC/PPC.h
llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
llvm/lib/Target/PowerPC/PPCISelLowering.cpp
llvm/lib/Target/PowerPC/PPCISelLowering.h
llvm/lib/Target/PowerPC/PPCInstr64Bit.td
llvm/lib/Target/PowerPC/PPCInstrInfo.cpp
llvm/lib/Target/PowerPC/PPCInstrInfo.td
llvm/lib/Target/PowerPC/PPCMCInstLower.cpp
llvm/lib/Target/PowerPC/PPCTLSDynamicCall.cpp
llvm/test/CodeGen/PowerPC/pcrel-tls-local-dynamic.ll [new file with mode: 0644]
llvm/test/MC/PowerPC/pcrel-tls-local-dynamic-reloc.s [new file with mode: 0644]