[llvm] r223414 - Convert test to use an extra Input file. NFC.
Rafael Espindola
rafael.espindola at gmail.com
Thu Dec 4 15:31:21 PST 2014
Author: rafael
Date: Thu Dec 4 17:31:21 2014
New Revision: 223414
URL: http://llvm.org/viewvc/llvm-project?rev=223414&view=rev
Log:
Convert test to use an extra Input file. NFC.
Added:
llvm/trunk/test/Linker/Inputs/alignment.ll
llvm/trunk/test/Linker/alignment.ll
Removed:
llvm/trunk/test/Linker/2006-06-15-GlobalVarAlignment.ll
Removed: llvm/trunk/test/Linker/2006-06-15-GlobalVarAlignment.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Linker/2006-06-15-GlobalVarAlignment.ll?rev=223413&view=auto
==============================================================================
--- llvm/trunk/test/Linker/2006-06-15-GlobalVarAlignment.ll (original)
+++ llvm/trunk/test/Linker/2006-06-15-GlobalVarAlignment.ll (removed)
@@ -1,8 +0,0 @@
-; The linker should choose the largest alignment when linking.
-
-; RUN: echo "@X = global i32 7, align 8" | 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: align 8
-
- at X = weak global i32 7, align 4
Added: llvm/trunk/test/Linker/Inputs/alignment.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Linker/Inputs/alignment.ll?rev=223414&view=auto
==============================================================================
--- llvm/trunk/test/Linker/Inputs/alignment.ll (added)
+++ llvm/trunk/test/Linker/Inputs/alignment.ll Thu Dec 4 17:31:21 2014
@@ -0,0 +1 @@
+ at X = global i32 7, align 8
Added: llvm/trunk/test/Linker/alignment.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Linker/alignment.ll?rev=223414&view=auto
==============================================================================
--- llvm/trunk/test/Linker/alignment.ll (added)
+++ llvm/trunk/test/Linker/alignment.ll Thu Dec 4 17:31:21 2014
@@ -0,0 +1,8 @@
+; The linker should choose the largest alignment when linking.
+
+; RUN: llvm-link %p/alignment.ll %p/Inputs/alignment.ll -S | FileCheck %s
+; RUN: llvm-link %p/Inputs/alignment.ll %p/alignment.ll -S | FileCheck %s
+
+; CHECK: @X = global i32 7, align 8
+
+ at X = weak global i32 7, align 4
More information about the llvm-commits
mailing list