mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-06 23:32:27 +00:00
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
This commit is contained in:
parent
59d867405a
commit
fe137022a5
@ -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
|
1
test/Linker/Inputs/alignment.ll
Normal file
1
test/Linker/Inputs/alignment.ll
Normal file
@ -0,0 +1 @@
|
||||
@X = global i32 7, align 8
|
8
test/Linker/alignment.ll
Normal file
8
test/Linker/alignment.ll
Normal 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
|
Loading…
x
Reference in New Issue
Block a user