[llvm] r220951 - merge tests for constant linking.
Rafael Espindola
rafael.espindola at gmail.com
Thu Oct 30 22:04:16 PDT 2014
Author: rafael
Date: Fri Oct 31 00:04:16 2014
New Revision: 220951
URL: http://llvm.org/viewvc/llvm-project?rev=220951&view=rev
Log:
merge tests for constant linking.
Added:
llvm/trunk/test/Linker/ConstantGlobals.ll
llvm/trunk/test/Linker/Inputs/ConstantGlobals.ll
Removed:
llvm/trunk/test/Linker/ConstantGlobals1.ll
llvm/trunk/test/Linker/ConstantGlobals2.ll
llvm/trunk/test/Linker/ConstantGlobals3.ll
llvm/trunk/test/Linker/Inputs/ConstantGlobals3.ll
Added: llvm/trunk/test/Linker/ConstantGlobals.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Linker/ConstantGlobals.ll?rev=220951&view=auto
==============================================================================
--- llvm/trunk/test/Linker/ConstantGlobals.ll (added)
+++ llvm/trunk/test/Linker/ConstantGlobals.ll Fri Oct 31 00:04:16 2014
@@ -0,0 +1,8 @@
+; RUN: llvm-link %s %S/Inputs/ConstantGlobals.ll -S | FileCheck %s
+; RUN: llvm-link %S/Inputs/ConstantGlobals.ll %s -S | FileCheck %s
+
+; CHECK-DAG: @X = constant [1 x i32] [i32 8]
+ at X = external global [1 x i32]
+
+; CHECK-DAG: @Y = external global [1 x i32]
+ at Y = external global [1 x i32]
Removed: llvm/trunk/test/Linker/ConstantGlobals1.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Linker/ConstantGlobals1.ll?rev=220950&view=auto
==============================================================================
--- llvm/trunk/test/Linker/ConstantGlobals1.ll (original)
+++ llvm/trunk/test/Linker/ConstantGlobals1.ll (removed)
@@ -1,10 +0,0 @@
-; Test that appending linkage works correctly when arrays are the same size.
-
-; RUN: echo "@X = constant [1 x i32] [i32 8] " | \
-; RUN: llvm-as > %t.2.bc
-; RUN: llvm-as < %s > %t.1.bc
-; RUN: llvm-link %t.1.bc %t.2.bc -S | FileCheck %s
-; CHECK: constant
-
- at X = external global [1 x i32] ; <[1 x i32]*> [#uses=0]
-
Removed: llvm/trunk/test/Linker/ConstantGlobals2.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Linker/ConstantGlobals2.ll?rev=220950&view=auto
==============================================================================
--- llvm/trunk/test/Linker/ConstantGlobals2.ll (original)
+++ llvm/trunk/test/Linker/ConstantGlobals2.ll (removed)
@@ -1,10 +0,0 @@
-; Test that appending linkage works correctly when arrays are the same size.
-
-; RUN: echo "@X = external global [1 x i32] " | \
-; RUN: llvm-as > %t.2.bc
-; RUN: llvm-as < %s > %t.1.bc
-; RUN: llvm-link %t.1.bc %t.2.bc -S | FileCheck %s
-; CHECK: constant
-
- at X = constant [1 x i32] [ i32 12 ] ; <[1 x i32]*> [#uses=0]
-
Removed: llvm/trunk/test/Linker/ConstantGlobals3.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Linker/ConstantGlobals3.ll?rev=220950&view=auto
==============================================================================
--- llvm/trunk/test/Linker/ConstantGlobals3.ll (original)
+++ llvm/trunk/test/Linker/ConstantGlobals3.ll (removed)
@@ -1,6 +0,0 @@
-; RUN: llvm-link %s %S/Inputs/ConstantGlobals3.ll -S | FileCheck %s
-; RUN: llvm-link %S/Inputs/ConstantGlobals3.ll %s -S | FileCheck %s
-
-; CHECK: @X = external global [1 x i32]
-
- at X = external global [1 x i32]
Added: llvm/trunk/test/Linker/Inputs/ConstantGlobals.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Linker/Inputs/ConstantGlobals.ll?rev=220951&view=auto
==============================================================================
--- llvm/trunk/test/Linker/Inputs/ConstantGlobals.ll (added)
+++ llvm/trunk/test/Linker/Inputs/ConstantGlobals.ll Fri Oct 31 00:04:16 2014
@@ -0,0 +1,2 @@
+ at X = constant [1 x i32] [i32 8]
+ at Y = external constant [1 x i32]
Removed: llvm/trunk/test/Linker/Inputs/ConstantGlobals3.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Linker/Inputs/ConstantGlobals3.ll?rev=220950&view=auto
==============================================================================
--- llvm/trunk/test/Linker/Inputs/ConstantGlobals3.ll (original)
+++ llvm/trunk/test/Linker/Inputs/ConstantGlobals3.ll (removed)
@@ -1 +0,0 @@
- at X = external constant [1 x i32]
More information about the llvm-commits
mailing list