diff options
author | Amy Kwan <amy.kwan1@ibm.com> | 2024-03-28 09:18:45 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-28 09:18:45 -0400 |
commit | a3efc53f168b1451803a40075201c3490d6e3928 (patch) | |
tree | 9f3cd16cebb83bc567b61513911d2a590c1c9603 /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | eacda36c7dd842cb15c0c954eda74b67d0c73814 (diff) | |
download | llvm-a3efc53f168b1451803a40075201c3490d6e3928.zip llvm-a3efc53f168b1451803a40075201c3490d6e3928.tar.gz llvm-a3efc53f168b1451803a40075201c3490d6e3928.tar.bz2 |
[AIX][TLS] Produce a faster local-exec access sequence for the "aix-small-tls" global variable attribute (#83053)
Similar to 3f46e5453d9310b15d974e876f6132e3cf50c4b1, this patch allows
the backend to produce a faster access sequence for the local-exec TLS
model, where loading from the TOC can be avoided, for local-exec TLS
variables that are annotated with the "aix-small-tls" attribute.
The expectation is for local-exec TLS variables to be set with this
attribute through PGO. Furthermore, the optimized access sequence is
only generated for local-exec TLS variables annotated with
"aix-small-tls", only if they are less than ~32KB in size.
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions