[all-commits] [llvm/llvm-project] 1756b2: [AIX][TLS] Generate TLS variables in assembly files

Victor Huang via All-commits all-commits at lists.llvm.org
Tue Mar 2 16:23:38 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1756b2adc9c1590a4a0c333d659fe7f5f80ce9fd
      https://github.com/llvm/llvm-project/commit/1756b2adc9c1590a4a0c333d659fe7f5f80ce9fd
  Author: Victor Huang <wei.huang at ibm.com>
  Date:   2021-03-02 (Tue, 02 Mar 2021)

  Changed paths:
    M llvm/include/llvm/MC/SectionKind.h
    M llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
    M llvm/lib/MC/MCObjectFileInfo.cpp
    M llvm/lib/MC/MCSectionXCOFF.cpp
    M llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
    M llvm/lib/Target/PowerPC/PPCISelLowering.cpp
    M llvm/lib/Target/TargetLoweringObjectFile.cpp
    A llvm/test/CodeGen/PowerPC/aix-tls-checks.ll
    A llvm/test/CodeGen/PowerPC/aix-tls-variables-ppc32.ll
    A llvm/test/CodeGen/PowerPC/aix-tls-variables-ppc64.ll

  Log Message:
  -----------
  [AIX][TLS] Generate TLS variables in assembly files

This patch allows generating TLS variables in assembly files on AIX.
Initialized and external uninitialized variables are generated with the
.csect pseudo-op and local uninitialized variables are generated with
the .comm/.lcomm pseudo-ops. The patch also adds a check to
explicitly say that TLS is not yet supported on AIX.

Reviewed by: daltenty, jasonliu, lei, nemanjai, sfertile
Originally patched by: bsaleil
Commandeered by: NeHuang

Differential Revision: https://reviews.llvm.org/D96184




More information about the All-commits mailing list