mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-23 02:29:18 +00:00
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@223417 91177308-0d34-0410-b5e6-96231b3b80d8
23 lines
549 B
LLVM
23 lines
549 B
LLVM
; 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
|
|
|
|
|
|
@A = weak global i32 7, align 4
|
|
; CHECK-DAG: @A = global i32 7, align 8
|
|
|
|
@B = weak global i32 7, align 8
|
|
; CHECK-DAG: @B = global i32 7, align 4
|
|
|
|
define weak void @C() align 4 {
|
|
ret void
|
|
}
|
|
; CHECK-DAG: define void @C() align 8 {
|
|
|
|
define weak void @D() align 8 {
|
|
ret void
|
|
}
|
|
; CHECK-DAG: define void @D() align 4 {
|
|
|
|
@E = common global i32 0, align 4
|
|
; CHECK-DAG: @E = common global i32 0, align 8
|