We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
avail-extern-gv-in-addrspace-to-local
1 parent ad36800 commit be7e411Copy full SHA for be7e411
llvm/lib/Transforms/IPO/ElimAvailExtern.cpp
@@ -35,6 +35,10 @@ static cl::opt<bool> ConvertToLocal(
35
cl::desc("Convert available_externally into locals, renaming them "
36
"to avoid link-time clashes."));
37
38
+// This option was originally introduced to correctly support the lowering of
39
+// LDS variables for AMDGPU when ThinLTO is enabled. It can be utilized for
40
+// other purposes, but make sure it is safe to do so, as privatizing global
41
+// variables is generally not safe.
42
static cl::opt<unsigned> ConvertGlobalVariableInAddrSpace(
43
"avail-extern-gv-in-addrspace-to-local", cl::Hidden,
44
cl::desc(
0 commit comments