From d8e637eecfd9e7bbcf3b6a1f7d2c072f4ab9dea5 Mon Sep 17 00:00:00 2001 From: Rafael Espindola Date: Mon, 24 Nov 2014 20:35:59 +0000 Subject: [PATCH] Pass the .ll files to llvm-link directly. NFC. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@222681 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/Linker/{testlink2.ll => Inputs/testlink.ll} | 4 ---- test/Linker/{testlink1.ll => testlink.ll} | 4 +--- test/Linker/weakextern.ll | 2 +- 3 files changed, 2 insertions(+), 8 deletions(-) rename test/Linker/{testlink2.ll => Inputs/testlink.ll} (91%) rename test/Linker/{testlink1.ll => testlink.ll} (94%) 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 -- 2.34.1