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

Kamau Bridgeman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 22 10:12:51 PDT 2020


kamaub created this revision.
kamaub added reviewers: stefanp, nemanjai, NeHuang.
Herald added subscribers: llvm-commits, shchenz, kbarton, aheejin, hiraditya.
Herald added a project: LLVM.
kamaub added a reviewer: PowerPC.
kamaub added a project: PowerPC.
Herald added a subscriber: wuzish.
kamaub updated this revision to Diff 272478.
kamaub added a comment.
kamaub edited the summary of this revision.

Updating patch with author's credits.


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

Patch by: NeHuang


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D82315

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/PPCInstPrinter.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/PPCInstrPrefix.td
  llvm/lib/Target/PowerPC/PPCMCInstLower.cpp
  llvm/lib/Target/PowerPC/PPCTLSDynamicCall.cpp
  llvm/test/CodeGen/PowerPC/pcrel-tls-general-dynamic.ll
  llvm/test/MC/PowerPC/pcrel-tls-general-dynamic-address-load-reloc.s
  llvm/test/MC/PowerPC/pcrel-tls-general-dynamic-value-load-reloc.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D82315.272478.patch
Type: text/x-patch
Size: 30435 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200622/253b2cb7/attachment-0001.bin>


More information about the llvm-commits mailing list