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