Pass the .ll files to llvm-link directly. NFC.
authorRafael Espindola <rafael.espindola@gmail.com>
Mon, 24 Nov 2014 20:35:59 +0000 (20:35 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Mon, 24 Nov 2014 20:35:59 +0000 (20:35 +0000)
llvm-svn: 222681

llvm/test/Linker/Inputs/testlink.ll [moved from llvm/test/Linker/testlink2.ll with 91% similarity]
llvm/test/Linker/testlink.ll [moved from llvm/test/Linker/testlink1.ll with 94% similarity]
llvm/test/Linker/weakextern.ll

similarity index 91%
rename from llvm/test/Linker/testlink2.ll
rename to llvm/test/Linker/Inputs/testlink.ll
index ff8e529..a5a1031 100644 (file)
@@ -1,7 +1,3 @@
-; This file is used by testlink1.ll, so it doesn't actually do anything itself
-;
-; RUN: true
-
 %intlist = type { %intlist*, i32 }
 
 
similarity index 94%
rename from llvm/test/Linker/testlink1.ll
rename to llvm/test/Linker/testlink.ll
index 6ba6fd5..a24d67f 100644 (file)
@@ -1,6 +1,4 @@
-; RUN: llvm-as < %s > %t.bc
-; RUN: llvm-as < %p/testlink2.ll > %t2.bc
-; RUN: llvm-link %t.bc %t2.bc -S | FileCheck %s
+; RUN: llvm-link %s %S/Inputs/testlink.ll -S | FileCheck %s
 
 ; CHECK: %Ty2 = type { %Ty1* }
 ; CHECK: %Ty1 = type { %Ty2* }
index b9f2584..8d479a0 100644 (file)
@@ -1,5 +1,5 @@
 ; RUN: llvm-as < %s > %t.bc
-; RUN: llvm-as < %p/testlink1.ll > %t2.bc
+; RUN: llvm-as < %p/testlink.ll > %t2.bc
 ; RUN: llvm-link %t.bc %t.bc %t2.bc -o %t1.bc
 ; RUN: llvm-dis < %t1.bc | FileCheck %s
 ; CHECK: kallsyms_names = extern_weak