[all-commits] [llvm/llvm-project] 698b45: [PowerPC][lld] Account for additional X-Forms -> D...
Amy Kwan via All-commits
all-commits at lists.llvm.org
Thu Aug 31 06:45:36 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 698b45aa902de4d30c798e8d6bd080c8e31bade8
https://github.com/llvm/llvm-project/commit/698b45aa902de4d30c798e8d6bd080c8e31bade8
Author: Amy Kwan <amy.kwan1 at ibm.com>
Date: 2023-08-31 (Thu, 31 Aug 2023)
Changed paths:
M lld/ELF/Arch/PPC.cpp
M lld/ELF/Arch/PPC64.cpp
M lld/ELF/Target.h
M lld/test/ELF/ppc32-tls-ie.s
M lld/test/ELF/ppc64-tls-ie.s
M lld/test/ELF/ppc64-tls-pcrel-ie.s
Log Message:
-----------
[PowerPC][lld] Account for additional X-Forms -> D-Form/DS-Forms load/stores when relaxing initial-exec to local-exec
D153645 added additional X-Form load/stores that can be generated for TLS accesses.
However, these added instructions have not been accounted for in lld. As a result,
lld does not know how to handle them and cannot relax initial-exec to local-exec
when the initial-exec sequence contains these additional load/stores.
This patch aims to resolve https://github.com/llvm/llvm-project/issues/64424.
Differential Revision: https://reviews.llvm.org/D158197
More information about the All-commits
mailing list