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 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits