[llvm] [PowerPC][AIX] 64-bit large code-model support for toc-data (PR #90619)
zhijian lin via llvm-commits
llvm-commits at lists.llvm.org
Thu May 2 12:15:16 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())
----------------
diggerlin wrote:
curiously , why skip the peephole for the ADDItocL8 in AIX?
https://github.com/llvm/llvm-project/pull/90619
More information about the llvm-commits
mailing list