[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:46:04 PDT 2024


================
@@ -479,14 +479,6 @@ static void addTocDataOptions(const llvm::opt::ArgList &Args,
       return false;
   }();
 
-  // Currently only supported for small code model.
-  if (TOCDataGloballyinEffect &&
-      (Args.getLastArgValue(options::OPT_mcmodel_EQ).equals("large") ||
-       Args.getLastArgValue(options::OPT_mcmodel_EQ).equals("medium"))) {
-    D.Diag(clang::diag::warn_drv_unsupported_tocdata);
----------------
diggerlin wrote:

the patch also support "medium" but in the description of the patch , it is "64-bit large code-model" , and do you want to add  medium test case?

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


More information about the llvm-commits mailing list