1 ; RUN: llc < %s -mtriple=arm-linux-gnueabi -O0 | FileCheck %s
2 ; run with -O0 to avoid arm global merging.
4 @c = internal global i8 0, align 1
5 @x = internal global i32 0, align 4
7 ; .lcomm doesn't support alignment, so we always use .local/.comm.
9 ; CHECK-NEXT: .comm c,1,1
11 ; CHECK-NEXT: .comm x,4,4
13 define i32 @foo() nounwind {
14 ret i32 sub (i32 ptrtoint (ptr @c to i32), i32 ptrtoint (ptr @x to i32))