llvm.org GIT mirror llvm / a461b7a
[ThinLTO] Add code comment. NFC git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@375500 91177308-0d34-0410-b5e6-96231b3b80d8 Eugene Leviant 1 year, 6 days ago
1 changed file(s) with 3 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
951951 if (NewLinkage == GV.getLinkage())
952952 return;
953953 if (GlobalValue::isLocalLinkage(GV.getLinkage()) ||
954 // Don't internalize anything here, because the code below
955 // lacks necessary correctness checks. Leave this job to
956 // LLVM 'internalize' pass.
954957 GlobalValue::isLocalLinkage(NewLinkage) ||
955958 // In case it was dead and already converted to declaration.
956959 GV.isDeclaration())