diff --git a/test/Linker/testlink2.ll b/test/Linker/Inputs/testlink.ll similarity index 91% rename from test/Linker/testlink2.ll rename to test/Linker/Inputs/testlink.ll index ff8e5299869..a5a10310022 100644 --- a/test/Linker/testlink2.ll +++ b/test/Linker/Inputs/testlink.ll @@ -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 } diff --git a/test/Linker/testlink1.ll b/test/Linker/testlink.ll similarity index 94% rename from test/Linker/testlink1.ll rename to test/Linker/testlink.ll index 6ba6fd5fd7e..a24d67f7e55 100644 --- a/test/Linker/testlink1.ll +++ b/test/Linker/testlink.ll @@ -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* } diff --git a/test/Linker/weakextern.ll b/test/Linker/weakextern.ll index b9f2584c7ee..8d479a0d39b 100644 --- a/test/Linker/weakextern.ll +++ b/test/Linker/weakextern.ll @@ -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