Previously, we were generating zeroes when generating code alignments for AArch64, but now we should omit the value and let the assembler choose to generate nops or zeroes. Reviewed By: efriedma, MaskRay Differential Revision: https://reviews.llvm.org/D132508
9 lines
222 B
LLVM
9 lines
222 B
LLVM
; RUN: llc -mtriple=aarch64 < %s -o - | FileCheck %s
|
|
|
|
%struct.A = type { i8, i32 }
|
|
@foo = dso_local global %struct.A zeroinitializer, align 4
|
|
|
|
; CHECK: .bss
|
|
; CHECK-NEXT: .globl foo
|
|
; CHECK-NEXT: .p2align 2, 0x0{{$}}
|