Home | History | Annotate | Download | only in rs_allocation
      1 ; RUN: rs2spirv_lit_driver.sh %s | FileCheck %s
      2 
      3 target datalayout = "e-p:32:32-i64:64-v128:64:128-n32-S64"
      4 target triple = "armv7-none-linux-gnueabi"
      5 
      6 ; CHECK: [[InvocationID:%.*]] = OpLoad %v3uint %gl_GlobalInvocationID
      7 ; CHECK: {{%.*}} = OpCompositeExtract %uint [[InvocationID]] 0
      8 ; CHECK: {{%.*}} = OpCompositeExtract %uint [[InvocationID]] 1
      9 
     10 ; Function Attrs: norecurse nounwind readnone
     11 define <4 x i8> @copy_coords(<4 x i8> %in, i32 %x, i32 %y) #0 {
     12 entry:
     13   %conv = trunc i32 %x to i8
     14   %0 = insertelement <4 x i8> %in, i8 %conv, i32 0
     15   %conv1 = trunc i32 %y to i8
     16   %1 = insertelement <4 x i8> %0, i8 %conv1, i32 1
     17   ret <4 x i8> %1
     18 }
     19 
     20 attributes #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" "target-features"="+long64" "unsafe-fp-math"="false" "use-soft-float"="false" }
     21 
     22 !llvm.module.flags = !{!0, !1}
     23 !llvm.ident = !{!2}
     24 !\23pragma = !{!3, !4, !5}
     25 !\23rs_export_foreach_name = !{!6, !7}
     26 !\23rs_export_foreach = !{!8, !9}
     27 
     28 !0 = !{i32 1, !"wchar_size", i32 4}
     29 !1 = !{i32 1, !"min_enum_size", i32 4}
     30 !2 = !{!"Android clang version 3.8.256229  (based on LLVM 3.8.256229)"}
     31 !3 = !{!"version", !"1"}
     32 !4 = !{!"java_package_name", !"rs2spirv"}
     33 !5 = !{!"rs_fp_relaxed", !""}
     34 !6 = !{!"root"}
     35 !7 = !{!"copy_coords"}
     36 !8 = !{!"0"}
     37 !9 = !{!"59"}
     38