[PATCH] D155600: [AIX][TLS] Produce a faster local-exec access sequence with -maix-small-local-exec-tls (And optimize when load/store offsets are 0)
Hubert Tong via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jul 18 23:09:03 PDT 2023
hubert.reinterpretcast added a comment.
> Instead, an addi/la with a displacement followed by a load/store
> directly off of r13 (the thread pointer) is produced.
@amyk, the patch description seems overly focused on the load/store cases (as opposed to the "pure" address calculation cases).
Also, the sentence quoted above seems to imply that `r13` is used as an operand of the load/store and not the `addi`/`la` (which is probably wrong in the cases where the `addi`/`la` is kept).
I also didn't see (in my skim through the tests) any case where the address is simply calculated and not used for a further access.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D155600/new/
https://reviews.llvm.org/D155600
More information about the llvm-commits
mailing list