llvm-project/llvm/test/CodeGen/ARM/preferred-align.ll

22 lines
400 B
LLVM

; RUN: llc -mtriple=armv7-linux-gnueabi %s -o - | FileCheck %s
@var_agg = global {i8, i8} zeroinitializer
; CHECK: .globl var_agg
; CHECK-NEXT: .p2align 2
@var1 = global i1 zeroinitializer
; CHECK: .globl var1
; CHECK-NOT: .p2align
@var8 = global i8 zeroinitializer
; CHECK: .globl var8
; CHECK-NOT: .p2align
@var16 = global i16 zeroinitializer
; CHECK: .globl var16
; CHECK-NEXT: .p2align 1