[PATCH] D144190: [AIX][clang] Storage Locations for Constant Pointers

Hubert Tong via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Mar 8 19:50:21 PST 2023


hubert.reinterpretcast added inline comments.


================
Comment at: clang/test/Driver/ppc-roptr.c:10
+// ROPTR-NOT: "-mroptr"
+// ROPTR-NOT: "-bforceimprw"
+
----------------
w2yehia wrote:
> hubert.reinterpretcast wrote:
> > Do we pass the option through to the LTO codegen when `-fprofile-generate` is used?
> > We may need a driver diagnostic for `-mroptr` without data sections when linking LTO objects (because the front-end won't be involved).
> > 
> > @w2yehia, does LLVM trunk have a gap in LTO driver enablement for AIX?
> > does LLVM trunk have a gap in LTO driver enablement for AIX?
> 
> I think trunk is up to date in terms of LTO (driver and libLTO); this was done in LLVM 16.0.
> 
> > Do we pass the option through to the LTO codegen when -fprofile-generate is used?
> 
> what's special with  -fprofile-generate in relation to the ROPTR option?
Sorry, I meant on the LTO link step.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D144190/new/

https://reviews.llvm.org/D144190



More information about the cfe-commits mailing list