aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/LoopUtils.cpp
diff options
context:
space:
mode:
authorAmy Kwan <amy.kwan1@ibm.com>2023-06-19 23:22:28 -0500
committerAmy Kwan <amy.kwan1@ibm.com>2023-06-20 11:57:38 -0500
commitf5ae07504846ec967ee8ac51198f17e76632b01b (patch)
tree0eefd92235ed9545d980bcaf84b8027be657a8eb /llvm/lib/Transforms/Utils/LoopUtils.cpp
parent8680c28add0b1725c34a52a2f8c509c892385c7d (diff)
downloadllvm-f5ae07504846ec967ee8ac51198f17e76632b01b.zip
llvm-f5ae07504846ec967ee8ac51198f17e76632b01b.tar.gz
llvm-f5ae07504846ec967ee8ac51198f17e76632b01b.tar.bz2
[AIX][TLS] Generate 32-bit local-exec access code sequence
This patch adds support for the TLS local-exec access model on AIX to allow for the ability to generate the 32-bit (specifically, non-optimized) code sequence. This work is a follow up of D149722. The particular sequence that is generated for this sequence is as follows: ``` .tc var[TC],var[TL]@le. // variable offset, with the le relocation specifier bla .__get_tpointer() // get the thread pointer, modifies r3 lwz reg1, var[TC](2) // load the variable offset add reg2, r3, reg1 // add the variable offset to the retrieved thread pointer ``` Differential Revision: https://reviews.llvm.org/D152669
Diffstat (limited to 'llvm/lib/Transforms/Utils/LoopUtils.cpp')
0 files changed, 0 insertions, 0 deletions