[clang] [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
Tue May 14 12:55:08 PDT 2024


================
@@ -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
----------------
diggerlin wrote:

from the comment , Transforms the ISD::TOC_ENTRY only happened in `32-bit AIX large code model mode` and `large (ELF and AIX)` , `64-bit medium (ELF-only)` and the patch is for AIX,  but we remove the warning of the support of the AIX medium in the AIX.cpp


https://github.com/llvm/llvm-project/pull/90619


More information about the llvm-commits mailing list