20 lines · plain
1; RUN: llc -mtriple=hexagon < %s | FileCheck %s2; CHECK: r{{[0-9]+}} = add(##g0,mpyi(r{{[0-9]+}},#24))3 4%s.0 = type { i32, i32, i32, i32, i32, i8 }5 6@g0 = common global [2 x %s.0] zeroinitializer, align 87 8declare void @f0(ptr)9 10; Function Attrs: nounwind readnone11define void @f1(i32 %a0) #0 {12b0:13 %v0 = getelementptr inbounds [2 x %s.0], ptr @g0, i32 0, i32 %a014 call void @f0(ptr %v0) #115 ret void16}17 18attributes #0 = { nounwind readnone }19attributes #1 = { nounwind }20