• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; RUN: rs2spirv_lit_driver.sh %s | FileCheck %s
2
3target datalayout = "e-m:e-i64:64-i128:128-n32:64-S128"
4target triple = "aarch64-none-linux-gnueabi"
5
6; CHECK: OpEntryPoint GLCompute [[WrapperId:%[a-zA-Z_0-9]*]] "entry_root"
7; CHECK: [[KernelId:%[a-zA-Z_0-9]+]] = OpFunction {{.*}}
8
9; Function Attrs: norecurse nounwind readnone
10define i32 @root(i32 %a) #0 {
11  ret i32 %a
12}
13; CHECK: [[WrapperId]] = OpFunction {{.*}}
14; CHECK-NEXT: OpLabel
15; CHECK: %{{[0-9]+}} = OpFunctionCall %{{.*}} [[KernelId]]
16; CHECK: OpReturn
17
18attributes #0 = { norecurse nounwind readnone "disable-tail-calls"="false" "less-precise-fpmad"="false" "no-frame-pointer-elim"="false" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "stack-protector-buffer-size"="0" "stackrealign" "unsafe-fp-math"="false" "use-soft-float"="false" }
19
20!llvm.ident = !{!0}
21!\23pragma = !{!1, !2, !3}
22!\23rs_export_foreach_name = !{!4}
23!\23rs_export_foreach = !{!5}
24
25!0 = !{!"Android clang version 3.8.256229  (based on LLVM 3.8.256229)"}
26!1 = !{!"version", !"1"}
27!2 = !{!"java_package_name", !"rs2srpiv"}
28!3 = !{!"rs_fp_relaxed", !""}
29!4 = !{!"root"}
30!5 = !{!"35"}
31