[PATCH] D155884: [AMDGPU] Improve indirect call support in closed modules

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 12 04:12:24 PDT 2023


arsenm added inline comments.


================
Comment at: llvm/lib/Target/AMDGPU/AMDGPUAttributor.cpp:953
     AC.DefaultInitializeLiveInternals = false;
+    AC.IsClosedWorldModule = true;
     AC.IPOAmendableCB = [](const Function &F) {
----------------
jdoerfert wrote:
> arsenm wrote:
> > This should probably feed from a pass option like other end-of-LTO things
> Those do not feed into the backend passes, as far as I can tell. I am tempted to add the Module flag back.
Not sure what you mean, there are pass parameters like any other


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

https://reviews.llvm.org/D155884



More information about the llvm-commits mailing list