summaryrefslogtreecommitdiffstats
path: root/llvm/test/Transforms/FunctionImport/funcimport.ll
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/Transforms/FunctionImport/funcimport.ll')
-rw-r--r--llvm/test/Transforms/FunctionImport/funcimport.ll5
1 files changed, 0 insertions, 5 deletions
diff --git a/llvm/test/Transforms/FunctionImport/funcimport.ll b/llvm/test/Transforms/FunctionImport/funcimport.ll
index 478613a2475..f0df3200555 100644
--- a/llvm/test/Transforms/FunctionImport/funcimport.ll
+++ b/llvm/test/Transforms/FunctionImport/funcimport.ll
@@ -28,7 +28,6 @@ entry:
call void (...) @setfuncptr()
call void (...) @callfuncptr()
call void (...) @weakfunc()
- call void (...) @linkoncefunc2()
call void (...) @referencelargelinkonce()
ret i32 0
}
@@ -95,10 +94,6 @@ declare void @referencelargelinkonce(...)
; CHECK-DAG: declare void @weakfunc(...)
declare void @weakfunc(...) #1
-; Won't import linkonce func
-; CHECK-DAG: declare void @linkoncefunc2(...)
-declare void @linkoncefunc2(...) #1
-
; INSTLIMDEF-DAG: Import funcwithpersonality
; INSTLIMDEF-DAG: define available_externally hidden void @funcwithpersonality.llvm.{{.*}}() personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*) {
; INSTLIM5-DAG: declare hidden void @funcwithpersonality.llvm.{{.*}}()
OpenPOWER on IntegriCloud