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; Function Attrs: norecurse nounwind readnone 7; CHECK: OpEntryPoint GLCompute %{{[a-zA-Z_0-9]*}} "entry_foo" %gl_GlobalInvocationID{{.*}} 8define i32 @foo(i32 %in) #0 { 9; CHECK: OpReturnValue {{.*}} 10 ret i32 %in 11} 12 13attributes #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" } 14 15!llvm.ident = !{!0} 16!\23pragma = !{!1, !2, !3} 17!\23rs_export_foreach_name = !{!4, !5} 18!\23rs_export_foreach = !{!6, !7} 19 20!0 = !{!"Android clang version 3.8.256229 (based on LLVM 3.8.256229)"} 21!1 = !{!"version", !"1"} 22!2 = !{!"java_package_name", !"rs2spirv"} 23!3 = !{!"rs_fp_relaxed", !""} 24!4 = !{!"root"} 25!5 = !{!"foo"} 26!6 = !{!"0"} 27!7 = !{!"35"} 28