summaryrefslogtreecommitdiff
path: root/test/Linker
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2015-12-08 02:29:45 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2015-12-08 02:29:45 +0000
commit4609cb778ad34d55e05762b7159f3339c4054145 (patch)
tree9b3c4c74a962a48a8514d80d488ada2172da7dab /test/Linker
parent23ae77267189ac95510c0915de0adc1f056f9427 (diff)
Simplify test. NFC.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@254987 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Linker')
-rw-r--r--test/Linker/link-flags.ll10
1 files 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