llvm.org GIT mirror llvm / fe13702
Convert test to use an extra Input file. NFC. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@223414 91177308-0d34-0410-b5e6-96231b3b80d8 Rafael Espindola 5 years ago
3 changed file(s) with 9 addition(s) and 8 deletion(s). Raw diff Collapse all Expand all
+0
-8
test/Linker/2006-06-15-GlobalVarAlignment.ll less more
None ; The linker should choose the largest alignment when linking.
1
2 ; RUN: echo "@X = global i32 7, align 8" | llvm-as > %t.2.bc
3 ; RUN: llvm-as < %s > %t.1.bc
4 ; RUN: llvm-link %t.1.bc %t.2.bc -S | FileCheck %s
5 ; CHECK: align 8
6
7 @X = weak global i32 7, align 4
0 @X = global i32 7, align 8
0 ; The linker should choose the largest alignment when linking.
1
2 ; RUN: llvm-link %p/alignment.ll %p/Inputs/alignment.ll -S | FileCheck %s
3 ; RUN: llvm-link %p/Inputs/alignment.ll %p/alignment.ll -S | FileCheck %s
4
5 ; CHECK: @X = global i32 7, align 8
6
7 @X = weak global i32 7, align 4