]> granicus.if.org Git - llvm/commitdiff
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)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@222681 91177308-0d34-0410-b5e6-96231b3b80d8

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

similarity index 91%
rename from test/Linker/testlink2.ll
rename to test/Linker/Inputs/testlink.ll
index ff8e5299869a566d6c5f42589f6c3202f958da8b..a5a103100222a391ac699f0da635ddd46317ccc6 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 test/Linker/testlink1.ll
rename to test/Linker/testlink.ll
index 6ba6fd5fd7e9575a502163ceb195f25ab7ef171a..a24d67f7e55ff012dfc11a2c7567fa80bcd5ed25 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 b9f2584c7eef9c2af4e2196d8039aef8e329c2be..8d479a0d39b34ecbf261ebed4ac4af1cf5781c77 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