<div dir="rtl"><div dir="ltr">AvailableExternallyLinkage functions are not emitted when codegenning, do they really need to go through optimization passes?<br></div><div dir="ltr"><br></div><div dir="ltr">I tried testing with </div><div dir="ltr"><br></div><div dir="ltr"><div dir="ltr">bool FPPassManager::runOnFunction(Function &F) {</div><div dir="ltr">  if (F.isDeclaration()<b> || F.hasAvailableExternallyLinkage()</b>)</div><div><br></div><div>which failed only one test, LLVM :: CodeGen/X86/hidden-vis-pic.ll, so there is some issue which yet may be solved without doing all the passes.</div><div><br></div></div></div>