From 4609cb778ad34d55e05762b7159f3339c4054145 Mon Sep 17 00:00:00 2001 From: Rafael Espindola Date: Tue, 8 Dec 2015 02:29:45 +0000 Subject: [PATCH] Simplify test. NFC. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@254987 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/Linker/link-flags.ll | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/test/Linker/link-flags.ll b/test/Linker/link-flags.ll index d03503aa454..c901b699575 100644 --- a/test/Linker/link-flags.ll +++ b/test/Linker/link-flags.ll @@ -1,9 +1,7 @@ -; RUN: llvm-as %S/Inputs/linkage.b.ll -o %t.b.bc -; RUN: llvm-as %S/Inputs/linkage.c.ll -o %t.c.bc -; RUN: llvm-link -S %t.b.bc %t.c.bc | FileCheck %s -check-prefix=B -check-prefix=C -check-prefix=CU -; RUN: llvm-link -S -only-needed %t.b.bc %t.c.bc | FileCheck %s -check-prefix=B -check-prefix=C -check-prefix=CN -; RUN: llvm-link -S -internalize %t.b.bc %t.c.bc | FileCheck %s -check-prefix=B -check-prefix=CI -; RUN: llvm-link -S -internalize -only-needed %t.b.bc %t.c.bc | FileCheck %s -check-prefix=B -check-prefix=CN +; RUN: llvm-link -S %S/Inputs/linkage.b.ll %S/Inputs/linkage.c.ll | FileCheck %s -check-prefix=B -check-prefix=C -check-prefix=CU +; RUN: llvm-link -S -only-needed %S/Inputs/linkage.b.ll %S/Inputs/linkage.c.ll | FileCheck %s -check-prefix=B -check-prefix=C -check-prefix=CN +; RUN: llvm-link -S -internalize %S/Inputs/linkage.b.ll %S/Inputs/linkage.c.ll | FileCheck %s -check-prefix=B -check-prefix=CI +; RUN: llvm-link -S -internalize -only-needed %S/Inputs/linkage.b.ll %S/Inputs/linkage.c.ll | FileCheck %s -check-prefix=B -check-prefix=CN C-LABEL: @X = global i32 5 CI-LABEL: @X = internal global i32 5 -- 2.11.0