• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; RUN: llc -march=hexagon < %s | FileCheck %s
2
3%struct.test_struct = type { i32, i8, i64 }
4
5; CHECK: r1 = #45
6define void @foo(%struct.test_struct* noalias nocapture sret(%struct.test_struct) %agg.result, i32 %a) #0 {
7entry:
8  call void @bar(%struct.test_struct* sret(%struct.test_struct) %agg.result, i32 45) #0
9  ret void
10}
11
12declare void @bar(%struct.test_struct* sret(%struct.test_struct), i32) #0
13
14attributes #0 = { nounwind }
15