• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; RUN: llc -march=hexagon < %s | FileCheck %s
2; 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 8
7
8declare void @f0(%s.0*)
9
10; Function Attrs: nounwind readnone
11define void @f1(i32 %a0) #0 {
12b0:
13  %v0 = getelementptr inbounds [2 x %s.0], [2 x %s.0]* @g0, i32 0, i32 %a0
14  call void @f0(%s.0* %v0) #1
15  ret void
16}
17
18attributes #0 = { nounwind readnone }
19attributes #1 = { nounwind }
20