Convert test to use an extra Input file. NFC.

llvm-svn: 223414
This commit is contained in:
Rafael Espindola 2014-12-04 23:31:21 +00:00
parent eaaae27bc5
commit 3dcdb8d285
3 changed files with 9 additions and 8 deletions

View File

@ -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
@X = weak global i32 7, align 4

View File

@ -0,0 +1 @@
@X = global i32 7, align 8

View File

@ -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
@X = weak global i32 7, align 4