[all-commits] [llvm/llvm-project] a3efc5: [AIX][TLS] Produce a faster local-exec access sequ...
Amy Kwan via All-commits
all-commits at lists.llvm.org
Thu Mar 28 06:19:08 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: a3efc53f168b1451803a40075201c3490d6e3928
https://github.com/llvm/llvm-project/commit/a3efc53f168b1451803a40075201c3490d6e3928
Author: Amy Kwan <amy.kwan1 at ibm.com>
Date: 2024-03-28 (Thu, 28 Mar 2024)
Changed paths:
M llvm/lib/Target/PowerPC/PPCISelDAGToDAG.cpp
M llvm/lib/Target/PowerPC/PPCISelLowering.cpp
A llvm/test/CodeGen/PowerPC/aix-small-tls-globalvarattr-funcattr.ll
A llvm/test/CodeGen/PowerPC/aix-small-tls-globalvarattr-loadaddr.ll
A llvm/test/CodeGen/PowerPC/aix-small-tls-globalvarattr-targetattr.ll
Log Message:
-----------
[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.
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