]> granicus.if.org Git - llvm/commitdiff
[ThinLTO] Resolve old FIXME for alias importing in test
authorTeresa Johnson <tejohnson@google.com>
Thu, 2 Feb 2017 15:58:06 +0000 (15:58 +0000)
committerTeresa Johnson <tejohnson@google.com>
Thu, 2 Feb 2017 15:58:06 +0000 (15:58 +0000)
This FIXME was added with r265941 and should have been resolved with
r266517.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@293901 91177308-0d34-0410-b5e6-96231b3b80d8

test/Transforms/FunctionImport/funcimport.ll

index 97c18488af646c689b6a1ee7cc2df287727eac7d..974041d5e335c57ad420184d7de883b4e33f3fe5 100644 (file)
@@ -44,10 +44,12 @@ declare void @weakalias(...) #1
 ; CHECK-DAG: declare void @analias
 declare void @analias(...) #1
 
-; FIXME: Add this checking back when follow on fix to add alias summary
-; records is committed.
 ; Aliases import the aliasee function
 declare void @linkoncealias(...) #1
+; INSTLIMDEF-DAG: Import linkoncealias
+; INSTLIMDEF-DAG: Import linkoncefunc
+; CHECK-DAG: define linkonce_odr void @linkoncefunc()
+; CHECK-DAG: @linkoncealias = alias void (...), bitcast (void ()* @linkoncefunc to void (...)*
 
 ; INSTLIMDEF-DAG: Import referencestatics
 ; INSTLIMDEF-DAG: define available_externally i32 @referencestatics(i32 %i) !thinlto_src_module !0 {