[PATCH] D156292: [PowerPC] Support initial-exec TLS mode on AIX

Qiu Chaofan via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 25 22:06:08 PDT 2023


qiucf created this revision.
qiucf added reviewers: amyk, hubert.reinterpretcast, nemanjai, shchenz, stefanp, PowerPC.
Herald added subscribers: kbarton, hiraditya.
Herald added a project: All.
qiucf requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

This patch adds TLS_IE relocation type to XCOFF writer, and emit code sequence for initial-exec TLS variables.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D156292

Files:
  llvm/include/llvm/MC/MCExpr.h
  llvm/lib/MC/MCExpr.cpp
  llvm/lib/MC/XCOFFObjectWriter.cpp
  llvm/lib/Target/PowerPC/MCTargetDesc/PPCMCTargetDesc.cpp
  llvm/lib/Target/PowerPC/MCTargetDesc/PPCXCOFFObjectWriter.cpp
  llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
  llvm/lib/Target/PowerPC/PPCISelLowering.cpp
  llvm/test/CodeGen/PowerPC/aix-tls-ie-ldst.ll
  llvm/test/CodeGen/PowerPC/aix-tls-ie-xcoff-reloc.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D156292.544203.patch
Type: text/x-patch
Size: 75539 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230726/66132ca3/attachment-0001.bin>


More information about the llvm-commits mailing list