================ @@ -6141,24 +6141,23 @@ void PPCDAGToDAGISel::Select(SDNode *N) { assert((isPPC64 || (isAIXABI && !isPPC64)) && "We are dealing with 64-bit" " ELF/AIX or 32-bit AIX in the following."); - // Transforms the ISD::TOC_ENTRY node for 32-bit AIX large code model mode - // or 64-bit medium (ELF-only) or large (ELF and AIX) code model code non - // toc-data symbols. + // Transforms the ISD::TOC_ENTRY node for 32-bit AIX large code model mode, + // 64-bit medium (ELF-only), or large (ELF and AIX) code model code that + // does not contain TOC data symbols. // We generate two instructions as described below. The first source - // operand is a symbol reference. If it must be toc-referenced according to - // Subtarget, we generate: + // operand is a symbol reference. If it must be referenced via the TOC + // according to Subtarget, we generate: // [32-bit AIX] // LWZtocL(@sym, ADDIStocHA(%r2, @sym)) // [64-bit ELF/AIX] // LDtocL(@sym, ADDIStocHA8(%x2, @sym)) // Otherwise we generate: // ADDItocL8(ADDIStocHA8(%x2, @sym), @sym) - - // For large code model toc-data symbols we generate: + // For large code model with TOC data symbols we generate: ---------------- mandlebug wrote:
```suggestion // And finally for AIX with toc-data we generate: ``` https://github.com/llvm/llvm-project/pull/90619 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits