[all-commits] [llvm/llvm-project] ea126a: [PowerPC] Tune AIX shared library TLS model at fun...
Felix (Ting Wang) via All-commits
all-commits at lists.llvm.org
Wed May 8 18:50:58 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: ea126aebdc9d8205016f355d85dbf1c15f2f4b28
https://github.com/llvm/llvm-project/commit/ea126aebdc9d8205016f355d85dbf1c15f2f4b28
Author: Felix (Ting Wang) <Ting.Wang.SH at ibm.com>
Date: 2024-05-09 (Thu, 09 May 2024)
Changed paths:
M clang/include/clang/Driver/Options.td
M clang/lib/Basic/Targets/PPC.cpp
M clang/lib/Basic/Targets/PPC.h
M llvm/lib/Target/PowerPC/PPC.td
M llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
M llvm/lib/Target/PowerPC/PPCISelLowering.cpp
M llvm/lib/Target/PowerPC/PPCMCInstLower.cpp
M llvm/lib/Target/PowerPC/PPCMachineFunctionInfo.h
M llvm/lib/Target/PowerPC/PPCSubtarget.cpp
A llvm/test/CodeGen/PowerPC/aix-shared-lib-tls-model-opt-small-local-dynamic-tls.ll
A llvm/test/CodeGen/PowerPC/aix-shared-lib-tls-model-opt.ll
A llvm/test/CodeGen/PowerPC/check-aix-shared-lib-tls-model-opt-IRattribute.ll
A llvm/test/CodeGen/PowerPC/check-aix-shared-lib-tls-model-opt-Option.ll
Log Message:
-----------
[PowerPC] Tune AIX shared library TLS model at function level (#84132)
Under some circumstance (library loaded with the main program), TLS
initial-exec model can be applied to local-dynamic access(es). We
could use some simple heuristic to decide the update at function level:
* If there is equal or less than a number of TLS local-dynamic access(es)
in the function, use TLS initial-exec model. (the threshold which default to
1 is controlled by hidden option)
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list