1; RUN: llc -march=hexagon < %s | FileCheck %s 2 3target triple = "hexagon" 4 5@g0 = common global [16 x i32] zeroinitializer, align 8 6@g1 = internal global [16 x i32] zeroinitializer, align 8 7 8; CHECK-NOT: g1.*lcomm 9 10; Function Attrs: nounwind 11define i32 @f0(i32 %a0) #0 { 12b0: 13 call void @f1(i32* getelementptr inbounds ([16 x i32], [16 x i32]* @g0, i32 0, i32 0), i32* getelementptr inbounds ([16 x i32], [16 x i32]* @g1, i32 0, i32 0)) 14 %v0 = getelementptr inbounds [16 x i32], [16 x i32]* @g0, i32 0, i32 %a0 15 %v1 = load i32, i32* %v0, align 4 16 %v2 = getelementptr inbounds [16 x i32], [16 x i32]* @g1, i32 0, i32 %a0 17 %v3 = load i32, i32* %v2, align 4 18 %v4 = add nsw i32 %v1, %v3 19 ret i32 %v4 20} 21 22declare void @f1(i32*, i32*) 23 24attributes #0 = { nounwind "target-cpu"="hexagonv55" } 25