[PATCH] D96184: [AIX][TLS] Generate TLS variables in assembly files
Baptiste Saleil via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Feb 5 14:51:24 PST 2021
bsaleil created this revision.
bsaleil added reviewers: nemanjai, stefanp, sfertile, jasonliu, daltenty.
bsaleil added projects: LLVM, PowerPC.
Herald added subscribers: kbarton, hiraditya.
bsaleil requested review of this revision.
Herald added a subscriber: llvm-commits.
This patch allows generating TLS variables in assembly files on AIX.
Initialized variables are generated with the .csect pseudo-op and
uninitialized variables are generated with the .comm pseudo-op.
The patch also adds a check to explicitly say that TLS is not yet
supported on AIX.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D96184
Files:
llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
llvm/lib/MC/MCObjectFileInfo.cpp
llvm/lib/MC/MCSectionXCOFF.cpp
llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
llvm/lib/Target/PowerPC/PPCISelLowering.cpp
llvm/test/CodeGen/PowerPC/aix-tls-checks.ll
llvm/test/CodeGen/PowerPC/aix-tls-variables.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D96184.321881.patch
Type: text/x-patch
Size: 10185 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210205/c86c4802/attachment.bin>
More information about the llvm-commits
mailing list