[llvm] [AMDGPU] SplitModule: Better handling of aliases & inline assembly (PR #106528)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Thu Aug 29 08:18:35 PDT 2024
================
@@ -103,6 +103,15 @@ static cl::opt<bool> NoExternalizeGlobals(
cl::desc("disables externalization of global variable with local linkage; "
"may cause globals to be duplicated which increases binary size"));
+static cl::opt<bool> NoExternalizeOnAddrTaken(
+ "amdgpu-module-splitting-no-externalize-address-taken", cl::Hidden,
+ cl::desc(
+ "disables externalization of functions whose addresses are taken"));
+
+static cl::opt<bool> InlineAsmIsIndirectCall(
+ "amdgpu-module-splitting-inline-asm-is-indirect-call", cl::Hidden,
+ cl::desc("consider inline assembly as na indirect call"));
----------------
arsenm wrote:
Nobody will ever use these flags, I would prefer to not add them
https://github.com/llvm/llvm-project/pull/106528
More information about the llvm-commits
mailing list