[llvm] [ElimAvailExtern] Add an option to allow to convert global variables in a specified address space to local (PR #144287)
Teresa Johnson via llvm-commits
llvm-commits at lists.llvm.org
Mon Jun 16 09:45:39 PDT 2025
https://github.com/teresajohnson commented:
> Currently, the EliminateAvailableExternallyPass only converts certain available externally functions to local.
This is not the default behavior. This pass mostly exists to drop definitions, not to convert to local. The conversion was added for contextual profiling. So the reference to this behavior in the summary is a bit odd. Do you *also* want to convert functions to locals? If so, should this be under the same option(s)?
https://github.com/llvm/llvm-project/pull/144287
More information about the llvm-commits
mailing list