[llvm] [AMDGPU] SplitModule: Better handling of aliases & inline assembly (PR #106528)
Pierre van Houtryve via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 3 03:19:05 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"));
----------------
Pierre-vh wrote:
They're useful for debugging, some of the tests I added use them.
I don't mind making them debug only if you prefer
https://github.com/llvm/llvm-project/pull/106528
More information about the llvm-commits
mailing list