P4 to Git Change 1083322 by yaxunl@yaxunl_stg_win50 on 2014/10/01 16:00:22

ECR #377625 - AMDIL Function support: allow functions without names to be not inlined.

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/linker.cpp#114 edit


[ROCm/clr commit: 26ad0e1a8e]
此提交包含在:
foreman committed 2014-10-01 16:11:38 -04:00
1 父節點 26490e5844
當前提交 bc29c81528
1 file changed
+1 -2
+1 -2
查看文件
@@ -223,8 +223,7 @@ AddNoInlineAttr(llvm::Module* M)
{
LLVMContext &Context = M->getContext();
for (llvm::Module::iterator I = M->begin(), E = M->end(); I != E; ++I) {
if (I->hasName() &&
!I->isDeclaration() &&
if (!I->isDeclaration() &&
!I->isIntrinsic() &&
!I->getName().startswith("__amdil") &&
!I->getFnAttributes().hasAttribute(Attributes::AlwaysInline) &&