[PATCH] D87721: [PowerPC][PCRelative] Thread Local Storage Support for Local Dynamic

Victor Huang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 15 13:38:21 PDT 2020


NeHuang created this revision.
NeHuang added reviewers: nemanjai, stefanp, power-llvm-team, hfinkel.
NeHuang added a project: LLVM.
Herald added subscribers: llvm-commits, shchenz, hiraditya.
NeHuang requested review of this revision.

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.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D87721

Files:
  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
  llvm/test/MC/PowerPC/pcrel-tls-local-dynamic-address-load-reloc.s
  llvm/test/MC/PowerPC/pcrel-tls-local-dynamic-value-load-reloc.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D87721.292012.patch
Type: text/x-patch
Size: 19966 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200915/7a19f8d1/attachment.bin>


More information about the llvm-commits mailing list