[PATCH] D155544: [AIX][TLS] Add -maix-small-local-exec-tls option.

Amy Kwan via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 17 22:27:56 PDT 2023


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

This patch adds an AIX-specific option to inform the compiler that it can use
a faster access sequence for the local-exec TLS model (formally named
`aix-small-local-exec-tls`).

This patch only adds the option, and the backend implementation for this option
will be added in a follow up patch.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D155544

Files:
  clang/include/clang/Driver/Options.td
  clang/lib/Basic/Targets/PPC.cpp
  clang/lib/Basic/Targets/PPC.h
  clang/test/Driver/aix-small-local-exec-tls.c
  clang/test/OpenMP/target_data_map_codegen_hold.cpp
  llvm/lib/Target/PowerPC/PPC.td
  llvm/lib/Target/PowerPC/PPCSubtarget.cpp
  llvm/test/CodeGen/PowerPC/check-aix-small-local-exec-tls-opt.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D155544.541320.patch
Type: text/x-patch
Size: 8228 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230718/868863a6/attachment.bin>


More information about the llvm-commits mailing list