[llvm] [PowerPC][AIX] 64-bit large code-model support for toc-data (PR #90619)
Zaara Syeda via llvm-commits
llvm-commits at lists.llvm.org
Mon May 13 12:21:41 PDT 2024
================
@@ -7780,6 +7775,10 @@ void PPCDAGToDAGISel::PeepholePPC64() {
Flags = PPCII::MO_TLSLD_LO;
break;
case PPC::ADDItocL8:
+ // Skip the following peephole optimizations for ADDItocL8 on AIX which
+ // is used for toc-data access.
+ if (Subtarget->isAIXABI())
----------------
syzaara wrote:
There is a follow on patch for adding this peephole optimization: https://github.com/llvm/llvm-project/pull/76488 since earlier patches related to this were reverted as the code needed some refactoring.
See: https://reviews.llvm.org/D101470 and https://reviews.llvm.org/D155957
https://github.com/llvm/llvm-project/pull/90619
More information about the llvm-commits
mailing list