diff --git a/crates/metal2vulkan/tests/air_input/icb_depth_indexed_encode.txt b/crates/metal2vulkan/tests/air_input/icb_depth_indexed_encode.txt index 52dcbce0f..7192e58ff 100644 --- a/crates/metal2vulkan/tests/air_input/icb_depth_indexed_encode.txt +++ b/crates/metal2vulkan/tests/air_input/icb_depth_indexed_encode.txt @@ -13,8 +13,8 @@ source_filename = "-" %t21 = type { ptr addrspace(1) } ; "struct.metal::command_buffer" %t22 = type { %t21 } ; "struct.Encoder" %t25 = type { float, float } ; "struct.Camera" -c9 = %t18 [27, 2] -c29 = <4 x i32> [0, 1, poison, poison] +c10 = %t18 [27, 2] +c31 = <4 x i32> [0, 1, poison, poison] define %t3 @f0 "dio_reset" memory(Mod, NoModRef, NoModRef) "approx-func-fp-math"="true" "frame-pointer"="all" "min-legal-vector-width"="0" "no-builtins"="" "no-infs-fp-math"="true" "no-nans-fp-math"="true" "no-signed-zeros-fp-math"="true" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "unsafe-fp-math"="true" %a0( Mod nocapture "air-buffer-no-alias"="" ) { bb0: @@ -34,23 +34,49 @@ bb0: br %i4, bb2, bb1 bb1: %i6 = getelementptr inbounds %t20, %a4, i64 0, i32 0 - %i7 = tail call i32 @f3 [air Atomic(Atomic { space: Global, op: Add, sign: Some(Unsigned), ty: NumTy { elem: I32, lanes: 1 }, order: Relaxed, failure: None, scope: Device, volatile: true, fetch: true, flags: None, stated_volatile: true })](%i6, i32 1, i32 0, i32 2, i1 1) arg0( nocapture ) + %i7 = tail call i32 @f4 [air Atomic(Atomic { space: Global, op: Add, sign: Some(Unsigned), ty: NumTy { elem: I32, lanes: 1 }, order: Relaxed, failure: None, scope: Device, volatile: true, fetch: true, flags: None, stated_volatile: true })](%i6, i32 1, i32 0, i32 2, i1 1) arg0( nocapture ) %i8 = getelementptr inbounds %t22, %a0, i64 0, i32 0, i32 0 %i9 = load ptr addrspace(1), %i8, align 8 %i10 = bitcast %a1 to ptr addrspace(1) - tail call void @f4 [air IndirectCommand(SetBuffer { stage: Vertex, space: Device, strided: true })](%i9, %i7, %i10, i64 18446744073709551615, i32 0) arg0( nocapture ) + tail call void @f5 [air IndirectCommand(SetBuffer { stage: Vertex, space: Device, strided: true })](%i9, %i7, %i10, i64 18446744073709551615, i32 0) arg0( nocapture ) %i12 = bitcast %a3 to ptr addrspace(2) - tail call void @f5 [air IndirectCommand(SetBuffer { stage: Vertex, space: Constant, strided: true })](%i9, %i7, %i12, i64 18446744073709551615, i32 1) arg0( nocapture ) + tail call void @f6 [air IndirectCommand(SetBuffer { stage: Vertex, space: Constant, strided: true })](%i9, %i7, %i12, i64 18446744073709551615, i32 1) arg0( nocapture ) %i14 = mul i32 %a6, i32 6 %i15 = zext %i14 to i64 %i16 = getelementptr inbounds i16, %a2, %i15 - tail call void @f6 [air IndirectCommand(DrawIndexedPrimitives { space: Device, wide: false })](%i9, %i7, i32 3, i32 6, %i16, i32 1, i32 0, i32 0) arg0( nocapture ) + tail call void @f7 [air IndirectCommand(DrawIndexedPrimitives { space: Device, wide: false })](%i9, %i7, i32 3, i32 6, %i16, i32 1, i32 0, i32 0) arg0( nocapture ) br bb2 bb2: ret void } -define %t10 @f2 "dio_vertex" memory(NoModRef, NoModRef, NoModRef) "approx-func-fp-math"="true" "frame-pointer"="all" "min-legal-vector-width"="128" "no-builtins"="" "no-infs-fp-math"="true" "no-nans-fp-math"="true" "no-signed-zeros-fp-math"="true" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "unsafe-fp-math"="true" %a1( align 4 dereferenceable(8) Ref nocapture "air-buffer-no-alias"="" ) { +define %t6 @f2 "dio_encode_strided" "approx-func-fp-math"="true" "frame-pointer"="all" "min-legal-vector-width"="0" "no-builtins"="" "no-infs-fp-math"="true" "no-nans-fp-math"="true" "no-signed-zeros-fp-math"="true" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "unsafe-fp-math"="true" %a0( align 8 dereferenceable(8) Ref nocapture "air-buffer-no-alias"="" ) %a1( "air-buffer-no-alias"="" ) %a2( "air-buffer-no-alias"="" ) %a3( align 4 dereferenceable(8) "air-buffer-no-alias"="" ) %a4( nocapture "air-buffer-no-alias"="" ) %a5( align 4 dereferenceable(4) Ref nocapture "air-buffer-no-alias"="" ) { +bb0: + %i0 = load i32, %a5, align 4 + %i1 = and i32 %a6, i32 31 + %i2 = shl nuw i32 i32 1, %i1 + %i3 = and i32 %i0, %i2 + %i4 = icmp eq %i3, i32 0 + br %i4, bb2, bb1 +bb1: + %i6 = getelementptr inbounds %t20, %a4, i64 0, i32 0 + %i7 = tail call i32 @f4 [air Atomic(Atomic { space: Global, op: Add, sign: Some(Unsigned), ty: NumTy { elem: I32, lanes: 1 }, order: Relaxed, failure: None, scope: Device, volatile: true, fetch: true, flags: None, stated_volatile: true })](%i6, i32 1, i32 0, i32 2, i1 1) arg0( nocapture ) + %i8 = getelementptr inbounds %t22, %a0, i64 0, i32 0, i32 0 + %i9 = load ptr addrspace(1), %i8, align 8 + %i10 = bitcast %a1 to ptr addrspace(1) + tail call void @f5 [air IndirectCommand(SetBuffer { stage: Vertex, space: Device, strided: true })](%i9, %i7, %i10, i64 12, i32 0) arg0( nocapture ) + %i12 = bitcast %a3 to ptr addrspace(2) + tail call void @f6 [air IndirectCommand(SetBuffer { stage: Vertex, space: Constant, strided: true })](%i9, %i7, %i12, i64 18446744073709551615, i32 1) arg0( nocapture ) + %i14 = mul i32 %a6, i32 6 + %i15 = zext %i14 to i64 + %i16 = getelementptr inbounds i16, %a2, %i15 + tail call void @f7 [air IndirectCommand(DrawIndexedPrimitives { space: Device, wide: false })](%i9, %i7, i32 3, i32 6, %i16, i32 1, i32 0, i32 0) arg0( nocapture ) + br bb2 +bb2: + ret void +} + +define %t10 @f3 "dio_vertex" memory(NoModRef, NoModRef, NoModRef) "approx-func-fp-math"="true" "frame-pointer"="all" "min-legal-vector-width"="128" "no-builtins"="" "no-infs-fp-math"="true" "no-nans-fp-math"="true" "no-signed-zeros-fp-math"="true" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "unsafe-fp-math"="true" %a1( align 4 dereferenceable(8) Ref nocapture "air-buffer-no-alias"="" ) { bb0: %i0 = shufflevector <4 x float> %a0, <3 x float> poison, <0, 1, poison, poison> %i1 = extractelement %a0, i64 2 @@ -65,13 +91,13 @@ bb0: ret %i9 } -declare %t12 @f3 "air.atomic.global.add.u.i32" %a0( nocapture ) +declare %t12 @f4 "air.atomic.global.add.u.i32" %a0( nocapture ) -declare %t14 @f4 "air.set_vertex_buffer_render_command.p1i8" %a0( nocapture ) +declare %t14 @f5 "air.set_vertex_buffer_render_command.p1i8" %a0( nocapture ) -declare %t15 @f5 "air.set_vertex_buffer_render_command.p2i8" %a0( nocapture ) +declare %t15 @f6 "air.set_vertex_buffer_render_command.p2i8" %a0( nocapture ) -declare %t16 @f6 "air.draw_indexed_primitives_render_command.p1i16" %a0( nocapture ) +declare %t16 @f7 "air.draw_indexed_primitives_render_command.p1i16" %a0( nocapture ) !md0 = !"SDK Version" !md1 = !"wchar_size" !md2 = !"frame-pointer" @@ -129,70 +155,81 @@ declare %t16 @f6 "air.draw_indexed_primitives_render_command.p1i16" %a0( nocaptu !md54 = !"omnipotent char" !md55 = !"Simple C++ TBAA" !md56 = !"air-alias-scope-arg(0)" -!md57 = !"air-alias-scope-arg(1)" -!md58 = i32 2 -!md59 = %t18 c9 -!md60 = i32 1 -!md61 = i32 4 -!md62 = i32 7 -!md63 = i32 31 -!md64 = i32 128 -!md65 = i32 8 -!md66 = i32 16 -!md67 = ptr addrspace(0) @f0 -!md68 = i32 0 -!md69 = ptr addrspace(0) @f1 -!md70 = i32 3 -!md71 = i32 5 -!md72 = i32 6 -!md73 = ptr addrspace(0) @f2 -!md74 = i64 0 -!md75 = !{!md58, !md0, !md59} -!md76 = !{!md60, !md1, !md61} -!md77 = !{!md62, !md2, !md58} -!md78 = !{!md62, !md3, !md63} -!md79 = !{!md62, !md4, !md63} -!md80 = !{!md62, !md5, !md63} -!md81 = !{!md62, !md6, !md64} -!md82 = !{!md62, !md7, !md65} -!md83 = !{!md62, !md8, !md66} -!md84 = !{} -!md85 = !{!md68, !md9, !md10, !md68, !md60, !md11, !md12, !md60, !md13, !md61, !md14, !md61, !md15, !md16, !md17, !md18} -!md86 = !{!md85} -!md87 = !{!md67, !md84, !md86} -!md88 = !{!md68, !md26, !md10, !md68, !md60, !md15, !md23, !md17, !md24} -!md89 = !{!md68, !md65, !md68, !md23, !md24, !md25, !md88} -!md90 = !{!md68, !md19, !md20, !md65, !md10, !md68, !md60, !md21, !md12, !md60, !md22, !md89, !md13, !md65, !md14, !md65, !md15, !md27, !md17, !md28} -!md91 = !{!md60, !md9, !md10, !md60, !md60, !md21, !md12, !md60, !md13, !md61, !md14, !md61, !md15, !md29, !md17, !md30} -!md92 = !{!md58, !md9, !md10, !md58, !md60, !md21, !md12, !md60, !md13, !md58, !md14, !md58, !md15, !md31, !md17, !md32} -!md93 = !{!md68, !md61, !md68, !md29, !md33, !md61, !md61, !md68, !md29, !md34} -!md94 = !{!md70, !md9, !md20, !md65, !md10, !md70, !md60, !md21, !md12, !md58, !md22, !md93, !md13, !md65, !md14, !md61, !md15, !md35, !md17, !md36} -!md95 = !{!md68, !md61, !md68, !md16, !md37} -!md96 = !{!md61, !md9, !md10, !md61, !md60, !md11, !md12, !md60, !md22, !md95, !md13, !md61, !md14, !md61, !md15, !md38, !md17, !md39} -!md97 = !{!md71, !md9, !md20, !md61, !md10, !md71, !md60, !md21, !md12, !md58, !md13, !md61, !md14, !md61, !md15, !md16, !md17, !md40} -!md98 = !{!md72, !md41, !md15, !md16, !md17, !md42} -!md99 = !{!md90, !md91, !md92, !md94, !md96, !md97, !md98} -!md100 = !{!md69, !md84, !md99} -!md101 = !{!md43, !md15, !md44} -!md102 = !{!md101} -!md103 = !{!md68, !md45, !md10, !md68, !md60, !md15, !md46, !md17, !md47} -!md104 = !{!md60, !md9, !md20, !md65, !md10, !md60, !md60, !md21, !md12, !md58, !md22, !md93, !md13, !md65, !md14, !md61, !md15, !md35, !md17, !md36} -!md105 = !{!md103, !md104} -!md106 = !{!md73, !md102, !md105} -!md107 = !{!md48} -!md108 = !{!md49} -!md109 = !{!md50} -!md110 = !{!md51} -!md111 = !{!md58, !md65, !md68} -!md112 = !{!md52, !md61, !md68, !md68} -!md113 = !{!md55} -!md114 = !{!md54, !md113, !md74} -!md115 = !{!md53, !md114, !md74} -!md116 = !{!md115, !md115, !md74} -!"llvm.module.flags" = !{!md75, !md76, !md77, !md78, !md79, !md80, !md81, !md82, !md83} -!"air.kernel" = !{!md87, !md100} -!"air.vertex" = !{!md106} -!"air.compile_options" = !{!md107, !md108, !md109} -!"llvm.ident" = !{!md110} -!"air.version" = !{!md111} -!"air.language_version" = !{!md112} +!md57 = !"air-alias-scope-arg(5)" +!md58 = !"air-alias-scope-arg(4)" +!md59 = !"air-alias-scope-arg(3)" +!md60 = !"air-alias-scope-arg(2)" +!md61 = !"air-alias-scope-arg(1)" +!md62 = !"__metal_command_buffer_t" +!md63 = i32 2 +!md64 = %t18 c10 +!md65 = i32 1 +!md66 = i32 4 +!md67 = i32 7 +!md68 = i32 31 +!md69 = i32 128 +!md70 = i32 8 +!md71 = i32 16 +!md72 = ptr addrspace(0) @f0 +!md73 = i32 0 +!md74 = ptr addrspace(0) @f1 +!md75 = i32 3 +!md76 = i32 5 +!md77 = i32 6 +!md78 = ptr addrspace(0) @f2 +!md79 = ptr addrspace(0) @f3 +!md80 = i64 0 +!md81 = i64 8 +!md82 = !{!md63, !md0, !md64} +!md83 = !{!md65, !md1, !md66} +!md84 = !{!md67, !md2, !md63} +!md85 = !{!md67, !md3, !md68} +!md86 = !{!md67, !md4, !md68} +!md87 = !{!md67, !md5, !md68} +!md88 = !{!md67, !md6, !md69} +!md89 = !{!md67, !md7, !md70} +!md90 = !{!md67, !md8, !md71} +!md91 = !{} +!md92 = !{!md73, !md9, !md10, !md73, !md65, !md11, !md12, !md65, !md13, !md66, !md14, !md66, !md15, !md16, !md17, !md18} +!md93 = !{!md92} +!md94 = !{!md72, !md91, !md93} +!md95 = !{!md73, !md26, !md10, !md73, !md65, !md15, !md23, !md17, !md24} +!md96 = !{!md73, !md70, !md73, !md23, !md24, !md25, !md95} +!md97 = !{!md73, !md19, !md20, !md70, !md10, !md73, !md65, !md21, !md12, !md65, !md22, !md96, !md13, !md70, !md14, !md70, !md15, !md27, !md17, !md28} +!md98 = !{!md65, !md9, !md10, !md65, !md65, !md21, !md12, !md65, !md13, !md66, !md14, !md66, !md15, !md29, !md17, !md30} +!md99 = !{!md63, !md9, !md10, !md63, !md65, !md21, !md12, !md65, !md13, !md63, !md14, !md63, !md15, !md31, !md17, !md32} +!md100 = !{!md73, !md66, !md73, !md29, !md33, !md66, !md66, !md73, !md29, !md34} +!md101 = !{!md75, !md9, !md20, !md70, !md10, !md75, !md65, !md21, !md12, !md63, !md22, !md100, !md13, !md70, !md14, !md66, !md15, !md35, !md17, !md36} +!md102 = !{!md73, !md66, !md73, !md16, !md37} +!md103 = !{!md66, !md9, !md10, !md66, !md65, !md11, !md12, !md65, !md22, !md102, !md13, !md66, !md14, !md66, !md15, !md38, !md17, !md39} +!md104 = !{!md76, !md9, !md20, !md66, !md10, !md76, !md65, !md21, !md12, !md63, !md13, !md66, !md14, !md66, !md15, !md16, !md17, !md40} +!md105 = !{!md77, !md41, !md15, !md16, !md17, !md42} +!md106 = !{!md97, !md98, !md99, !md101, !md103, !md104, !md105} +!md107 = !{!md74, !md91, !md106} +!md108 = !{!md78, !md91, !md106} +!md109 = !{!md43, !md15, !md44} +!md110 = !{!md109} +!md111 = !{!md73, !md45, !md10, !md73, !md65, !md15, !md46, !md17, !md47} +!md112 = !{!md65, !md9, !md20, !md70, !md10, !md65, !md65, !md21, !md12, !md63, !md22, !md100, !md13, !md70, !md14, !md66, !md15, !md35, !md17, !md36} +!md113 = !{!md111, !md112} +!md114 = !{!md79, !md110, !md113} +!md115 = !{!md48} +!md116 = !{!md49} +!md117 = !{!md50} +!md118 = !{!md51} +!md119 = !{!md63, !md70, !md73} +!md120 = !{!md52, !md66, !md73, !md73} +!md121 = !{!md55} +!md122 = !{!md54, !md121, !md80} +!md123 = !{!md53, !md122, !md80} +!md124 = !{!md123, !md123, !md80} +!md125 = !{!md62, !md122, !md80} +!md126 = !{!md125, !md125, !md80} +!md127 = !{!md80, !md81, !md126} +!"llvm.module.flags" = !{!md82, !md83, !md84, !md85, !md86, !md87, !md88, !md89, !md90} +!"air.kernel" = !{!md94, !md107, !md108} +!"air.vertex" = !{!md114} +!"air.compile_options" = !{!md115, !md116, !md117} +!"llvm.ident" = !{!md118} +!"air.version" = !{!md119} +!"air.language_version" = !{!md120} diff --git a/crates/metal2vulkan/tests/air_input/tns_mm_edge.txt b/crates/metal2vulkan/tests/air_input/tns_mm_edge.txt index 0d946ae68..c3902fed4 100644 --- a/crates/metal2vulkan/tests/air_input/tns_mm_edge.txt +++ b/crates/metal2vulkan/tests/air_input/tns_mm_edge.txt @@ -239,7 +239,7 @@ bb1: store i32 1, %i186, align 4 %i188 = getelementptr inbounds %t30, %i152, i64 0, i32 0, i64 1 store %i160, %i188, align 4 - call void @f7 [air Tensor(InitStrided { data: Device })](%i178, i16 2, %i179, %i180, %i185, i8 0) arg0( Mod nocapture ) arg2( NoModRef ) arg3( Ref nocapture ) arg4( Ref nocapture ) + call void @f7 [air Tensor(InitStrided { data: Device, trailing: false })](%i178, i16 2, %i179, %i180, %i185, i8 0) arg0( Mod nocapture ) arg2( NoModRef ) arg3( Ref nocapture ) arg4( Ref nocapture ) %i191 = tail call i32 @f9 [air SimdgroupSize(SimdgroupSize { ty: I32 })]() call void @f10(i32 2, i32 16, i32 16, i32 32, i8 0, i8 0, i8 0, i32 1, %i154, i32 268435488, i32 268435488, i32 268435488, %i191) convergent "no-builtins"="" %i193 = bitcast %i147 to ptr addrspace(0) @@ -270,7 +270,7 @@ bb3: store i32 1, %i215, align 4 %i217 = getelementptr inbounds %t30, %i150, i64 0, i32 0, i64 1 store %i205, %i217, align 4 - call void @f7 [air Tensor(InitStrided { data: Device })](%i207, i16 2, %i208, %i209, %i214, i8 0) arg0( Mod nocapture ) arg2( NoModRef ) arg3( Ref nocapture ) arg4( Ref nocapture ) + call void @f7 [air Tensor(InitStrided { data: Device, trailing: false })](%i207, i16 2, %i208, %i209, %i214, i8 0) arg0( Mod nocapture ) arg2( NoModRef ) arg3( Ref nocapture ) arg4( Ref nocapture ) %i220 = bitcast %i148 to ptr addrspace(0) call void @f48 [llvm Memcpy { dst: Thread, src: Thread, len: I64, volatile: false }](%i220, ptr addrspace(0) @g2, i64 20, i1 0) arg0( align 4 dereferenceable(20) ) arg1( align 4 dereferenceable(20) ) %i222 = call ptr addrspace(0) @f14(i32 2, i32 16, i32 16, i32 32, i8 0, i8 0, i8 0, i32 1, %i154, i16 65535, i32 268435488, i32 268435488, i32 268435488) convergent "no-builtins"="" @@ -357,7 +357,7 @@ bb12: store i32 1, %i293, align 4 %i295 = getelementptr inbounds %t30, %i142, i64 0, i32 0, i64 1 store %i267, %i295, align 4 - call void @f7 [air Tensor(InitStrided { data: Device })](%i285, i16 2, %i286, %i287, %i292, i8 1) arg0( Mod nocapture ) arg2( NoModRef ) arg3( Ref nocapture ) arg4( Ref nocapture ) + call void @f7 [air Tensor(InitStrided { data: Device, trailing: false })](%i285, i16 2, %i286, %i287, %i292, i8 1) arg0( Mod nocapture ) arg2( NoModRef ) arg3( Ref nocapture ) arg4( Ref nocapture ) %i298 = tail call i32 @f9 [air SimdgroupSize(SimdgroupSize { ty: I32 })]() call void @f10(i32 2, i32 16, i32 16, i32 32, i8 0, i8 0, i8 0, i32 1, %i144, i32 268435472, i32 268435472, i32 268435488, %i298) convergent "no-builtins"="" %i300 = bitcast %i137 to ptr addrspace(0) @@ -388,7 +388,7 @@ bb14: store i32 1, %i322, align 4 %i324 = getelementptr inbounds %t30, %i140, i64 0, i32 0, i64 1 store %i312, %i324, align 4 - call void @f7 [air Tensor(InitStrided { data: Device })](%i314, i16 2, %i315, %i316, %i321, i8 1) arg0( Mod nocapture ) arg2( NoModRef ) arg3( Ref nocapture ) arg4( Ref nocapture ) + call void @f7 [air Tensor(InitStrided { data: Device, trailing: false })](%i314, i16 2, %i315, %i316, %i321, i8 1) arg0( Mod nocapture ) arg2( NoModRef ) arg3( Ref nocapture ) arg4( Ref nocapture ) %i327 = bitcast %i138 to ptr addrspace(0) call void @f48 [llvm Memcpy { dst: Thread, src: Thread, len: I64, volatile: false }](%i327, ptr addrspace(0) @g2, i64 20, i1 0) arg0( align 4 dereferenceable(20) ) arg1( align 4 dereferenceable(20) ) %i329 = call ptr addrspace(0) @f14(i32 2, i32 16, i32 16, i32 32, i8 0, i8 0, i8 0, i32 1, %i144, i16 65535, i32 268435472, i32 268435472, i32 268435488) convergent "no-builtins"="" @@ -475,7 +475,7 @@ bb23: store i32 1, %i400, align 4 %i402 = getelementptr inbounds %t30, %i131, i64 0, i32 0, i64 1 store %i374, %i402, align 4 - call void @f7 [air Tensor(InitStrided { data: Device })](%i392, i16 2, %i393, %i394, %i399, i8 2) arg0( Mod nocapture ) arg2( NoModRef ) arg3( Ref nocapture ) arg4( Ref nocapture ) + call void @f7 [air Tensor(InitStrided { data: Device, trailing: false })](%i392, i16 2, %i393, %i394, %i399, i8 2) arg0( Mod nocapture ) arg2( NoModRef ) arg3( Ref nocapture ) arg4( Ref nocapture ) %i405 = tail call i32 @f9 [air SimdgroupSize(SimdgroupSize { ty: I32 })]() call void @f10(i32 2, i32 16, i32 16, i32 32, i8 0, i8 0, i8 0, i32 1, %i133, i32 2415919120, i32 2415919120, i32 268435488, %i405) convergent "no-builtins"="" %i407 = bitcast %i126 to ptr addrspace(0) @@ -506,7 +506,7 @@ bb25: store i32 1, %i429, align 4 %i431 = getelementptr inbounds %t30, %i129, i64 0, i32 0, i64 1 store %i419, %i431, align 4 - call void @f7 [air Tensor(InitStrided { data: Device })](%i421, i16 2, %i422, %i423, %i428, i8 2) arg0( Mod nocapture ) arg2( NoModRef ) arg3( Ref nocapture ) arg4( Ref nocapture ) + call void @f7 [air Tensor(InitStrided { data: Device, trailing: false })](%i421, i16 2, %i422, %i423, %i428, i8 2) arg0( Mod nocapture ) arg2( NoModRef ) arg3( Ref nocapture ) arg4( Ref nocapture ) %i434 = bitcast %i127 to ptr addrspace(0) call void @f48 [llvm Memcpy { dst: Thread, src: Thread, len: I64, volatile: false }](%i434, ptr addrspace(0) @g2, i64 20, i1 0) arg0( align 4 dereferenceable(20) ) arg1( align 4 dereferenceable(20) ) %i436 = call ptr addrspace(0) @f14(i32 2, i32 16, i32 16, i32 32, i8 0, i8 0, i8 0, i32 1, %i133, i16 65535, i32 2415919120, i32 2415919120, i32 268435488) convergent "no-builtins"="" @@ -593,7 +593,7 @@ bb34: store i32 1, %i507, align 4 %i509 = getelementptr inbounds %t30, %i120, i64 0, i32 0, i64 1 store %i481, %i509, align 4 - call void @f7 [air Tensor(InitStrided { data: Device })](%i499, i16 2, %i500, %i501, %i506, i8 0) arg0( Mod nocapture ) arg2( NoModRef ) arg3( Ref nocapture ) arg4( Ref nocapture ) + call void @f7 [air Tensor(InitStrided { data: Device, trailing: false })](%i499, i16 2, %i500, %i501, %i506, i8 0) arg0( Mod nocapture ) arg2( NoModRef ) arg3( Ref nocapture ) arg4( Ref nocapture ) %i512 = tail call i32 @f9 [air SimdgroupSize(SimdgroupSize { ty: I32 })]() call void @f10(i32 2, i32 16, i32 16, i32 32, i8 0, i8 0, i8 1, i32 1, %i122, i32 268435488, i32 268435488, i32 268435488, %i512) convergent "no-builtins"="" %i514 = bitcast %i115 to ptr addrspace(0) @@ -624,7 +624,7 @@ bb36: store i32 1, %i536, align 4 %i538 = getelementptr inbounds %t30, %i118, i64 0, i32 0, i64 1 store %i526, %i538, align 4 - call void @f7 [air Tensor(InitStrided { data: Device })](%i528, i16 2, %i529, %i530, %i535, i8 0) arg0( Mod nocapture ) arg2( NoModRef ) arg3( Ref nocapture ) arg4( Ref nocapture ) + call void @f7 [air Tensor(InitStrided { data: Device, trailing: false })](%i528, i16 2, %i529, %i530, %i535, i8 0) arg0( Mod nocapture ) arg2( NoModRef ) arg3( Ref nocapture ) arg4( Ref nocapture ) %i541 = bitcast %i116 to ptr addrspace(0) call void @f48 [llvm Memcpy { dst: Thread, src: Thread, len: I64, volatile: false }](%i541, ptr addrspace(0) @g3, i64 20, i1 0) arg0( align 4 dereferenceable(20) ) arg1( align 4 dereferenceable(20) ) %i543 = call ptr addrspace(0) @f14(i32 2, i32 16, i32 16, i32 32, i8 0, i8 0, i8 1, i32 1, %i122, i16 65535, i32 268435488, i32 268435488, i32 268435488) convergent "no-builtins"="" @@ -711,7 +711,7 @@ bb45: store i32 1, %i614, align 4 %i616 = getelementptr inbounds %t30, %i109, i64 0, i32 0, i64 1 store %i588, %i616, align 4 - call void @f7 [air Tensor(InitStrided { data: Device })](%i606, i16 2, %i607, %i608, %i613, i8 1) arg0( Mod nocapture ) arg2( NoModRef ) arg3( Ref nocapture ) arg4( Ref nocapture ) + call void @f7 [air Tensor(InitStrided { data: Device, trailing: false })](%i606, i16 2, %i607, %i608, %i613, i8 1) arg0( Mod nocapture ) arg2( NoModRef ) arg3( Ref nocapture ) arg4( Ref nocapture ) %i619 = tail call i32 @f9 [air SimdgroupSize(SimdgroupSize { ty: I32 })]() call void @f10(i32 2, i32 16, i32 16, i32 32, i8 0, i8 0, i8 1, i32 1, %i111, i32 268435472, i32 268435472, i32 268435488, %i619) convergent "no-builtins"="" %i621 = bitcast %i104 to ptr addrspace(0) @@ -742,7 +742,7 @@ bb47: store i32 1, %i643, align 4 %i645 = getelementptr inbounds %t30, %i107, i64 0, i32 0, i64 1 store %i633, %i645, align 4 - call void @f7 [air Tensor(InitStrided { data: Device })](%i635, i16 2, %i636, %i637, %i642, i8 1) arg0( Mod nocapture ) arg2( NoModRef ) arg3( Ref nocapture ) arg4( Ref nocapture ) + call void @f7 [air Tensor(InitStrided { data: Device, trailing: false })](%i635, i16 2, %i636, %i637, %i642, i8 1) arg0( Mod nocapture ) arg2( NoModRef ) arg3( Ref nocapture ) arg4( Ref nocapture ) %i648 = bitcast %i105 to ptr addrspace(0) call void @f48 [llvm Memcpy { dst: Thread, src: Thread, len: I64, volatile: false }](%i648, ptr addrspace(0) @g3, i64 20, i1 0) arg0( align 4 dereferenceable(20) ) arg1( align 4 dereferenceable(20) ) %i650 = call ptr addrspace(0) @f14(i32 2, i32 16, i32 16, i32 32, i8 0, i8 0, i8 1, i32 1, %i111, i16 65535, i32 268435472, i32 268435472, i32 268435488) convergent "no-builtins"="" @@ -829,7 +829,7 @@ bb56: store i32 1, %i721, align 4 %i723 = getelementptr inbounds %t30, %i98, i64 0, i32 0, i64 1 store %i695, %i723, align 4 - call void @f7 [air Tensor(InitStrided { data: Device })](%i713, i16 2, %i714, %i715, %i720, i8 2) arg0( Mod nocapture ) arg2( NoModRef ) arg3( Ref nocapture ) arg4( Ref nocapture ) + call void @f7 [air Tensor(InitStrided { data: Device, trailing: false })](%i713, i16 2, %i714, %i715, %i720, i8 2) arg0( Mod nocapture ) arg2( NoModRef ) arg3( Ref nocapture ) arg4( Ref nocapture ) %i726 = tail call i32 @f9 [air SimdgroupSize(SimdgroupSize { ty: I32 })]() call void @f10(i32 2, i32 16, i32 16, i32 32, i8 0, i8 0, i8 1, i32 1, %i100, i32 2415919120, i32 2415919120, i32 268435488, %i726) convergent "no-builtins"="" %i728 = bitcast %i93 to ptr addrspace(0) @@ -860,7 +860,7 @@ bb58: store i32 1, %i750, align 4 %i752 = getelementptr inbounds %t30, %i96, i64 0, i32 0, i64 1 store %i740, %i752, align 4 - call void @f7 [air Tensor(InitStrided { data: Device })](%i742, i16 2, %i743, %i744, %i749, i8 2) arg0( Mod nocapture ) arg2( NoModRef ) arg3( Ref nocapture ) arg4( Ref nocapture ) + call void @f7 [air Tensor(InitStrided { data: Device, trailing: false })](%i742, i16 2, %i743, %i744, %i749, i8 2) arg0( Mod nocapture ) arg2( NoModRef ) arg3( Ref nocapture ) arg4( Ref nocapture ) %i755 = bitcast %i94 to ptr addrspace(0) call void @f48 [llvm Memcpy { dst: Thread, src: Thread, len: I64, volatile: false }](%i755, ptr addrspace(0) @g3, i64 20, i1 0) arg0( align 4 dereferenceable(20) ) arg1( align 4 dereferenceable(20) ) %i757 = call ptr addrspace(0) @f14(i32 2, i32 16, i32 16, i32 32, i8 0, i8 0, i8 1, i32 1, %i100, i16 65535, i32 2415919120, i32 2415919120, i32 268435488) convergent "no-builtins"="" @@ -947,7 +947,7 @@ bb67: store i32 1, %i828, align 4 %i830 = getelementptr inbounds %t30, %i87, i64 0, i32 0, i64 1 store %i802, %i830, align 4 - call void @f7 [air Tensor(InitStrided { data: Device })](%i820, i16 2, %i821, %i822, %i827, i8 0) arg0( Mod nocapture ) arg2( NoModRef ) arg3( Ref nocapture ) arg4( Ref nocapture ) + call void @f7 [air Tensor(InitStrided { data: Device, trailing: false })](%i820, i16 2, %i821, %i822, %i827, i8 0) arg0( Mod nocapture ) arg2( NoModRef ) arg3( Ref nocapture ) arg4( Ref nocapture ) %i833 = tail call i32 @f9 [air SimdgroupSize(SimdgroupSize { ty: I32 })]() call void @f10(i32 2, i32 16, i32 16, i32 32, i8 0, i8 0, i8 0, i32 0, %i89, i32 268435488, i32 268435488, i32 268435488, %i833) convergent "no-builtins"="" %i835 = bitcast %i82 to ptr addrspace(0) @@ -978,7 +978,7 @@ bb69: store i32 1, %i857, align 4 %i859 = getelementptr inbounds %t30, %i85, i64 0, i32 0, i64 1 store %i847, %i859, align 4 - call void @f7 [air Tensor(InitStrided { data: Device })](%i849, i16 2, %i850, %i851, %i856, i8 0) arg0( Mod nocapture ) arg2( NoModRef ) arg3( Ref nocapture ) arg4( Ref nocapture ) + call void @f7 [air Tensor(InitStrided { data: Device, trailing: false })](%i849, i16 2, %i850, %i851, %i856, i8 0) arg0( Mod nocapture ) arg2( NoModRef ) arg3( Ref nocapture ) arg4( Ref nocapture ) %i862 = bitcast %i83 to ptr addrspace(0) call void @f48 [llvm Memcpy { dst: Thread, src: Thread, len: I64, volatile: false }](%i862, ptr addrspace(0) @g4, i64 20, i1 0) arg0( align 4 dereferenceable(20) ) arg1( align 4 dereferenceable(20) ) %i864 = call ptr addrspace(0) @f14(i32 2, i32 16, i32 16, i32 32, i8 0, i8 0, i8 0, i32 0, %i89, i16 65535, i32 268435488, i32 268435488, i32 268435488) convergent "no-builtins"="" @@ -1065,7 +1065,7 @@ bb78: store i32 1, %i935, align 4 %i937 = getelementptr inbounds %t30, %i76, i64 0, i32 0, i64 1 store %i909, %i937, align 4 - call void @f7 [air Tensor(InitStrided { data: Device })](%i927, i16 2, %i928, %i929, %i934, i8 0) arg0( Mod nocapture ) arg2( NoModRef ) arg3( Ref nocapture ) arg4( Ref nocapture ) + call void @f7 [air Tensor(InitStrided { data: Device, trailing: false })](%i927, i16 2, %i928, %i929, %i934, i8 0) arg0( Mod nocapture ) arg2( NoModRef ) arg3( Ref nocapture ) arg4( Ref nocapture ) %i940 = tail call i32 @f9 [air SimdgroupSize(SimdgroupSize { ty: I32 })]() call void @f10(i32 2, i32 16, i32 16, i32 32, i8 0, i8 1, i8 0, i32 1, %i78, i32 268435488, i32 268435488, i32 268435488, %i940) convergent "no-builtins"="" %i942 = bitcast %i71 to ptr addrspace(0) @@ -1096,7 +1096,7 @@ bb80: store i32 1, %i964, align 4 %i966 = getelementptr inbounds %t30, %i74, i64 0, i32 0, i64 1 store %i954, %i966, align 4 - call void @f7 [air Tensor(InitStrided { data: Device })](%i956, i16 2, %i957, %i958, %i963, i8 0) arg0( Mod nocapture ) arg2( NoModRef ) arg3( Ref nocapture ) arg4( Ref nocapture ) + call void @f7 [air Tensor(InitStrided { data: Device, trailing: false })](%i956, i16 2, %i957, %i958, %i963, i8 0) arg0( Mod nocapture ) arg2( NoModRef ) arg3( Ref nocapture ) arg4( Ref nocapture ) %i969 = bitcast %i72 to ptr addrspace(0) call void @f48 [llvm Memcpy { dst: Thread, src: Thread, len: I64, volatile: false }](%i969, ptr addrspace(0) @g5, i64 20, i1 0) arg0( align 4 dereferenceable(20) ) arg1( align 4 dereferenceable(20) ) %i971 = call ptr addrspace(0) @f14(i32 2, i32 16, i32 16, i32 32, i8 0, i8 1, i8 0, i32 1, %i78, i16 65535, i32 268435488, i32 268435488, i32 268435488) convergent "no-builtins"="" @@ -1183,7 +1183,7 @@ bb89: store i32 1, %i1042, align 4 %i1044 = getelementptr inbounds %t30, %i65, i64 0, i32 0, i64 1 store %i1016, %i1044, align 4 - call void @f7 [air Tensor(InitStrided { data: Device })](%i1034, i16 2, %i1035, %i1036, %i1041, i8 0) arg0( Mod nocapture ) arg2( NoModRef ) arg3( Ref nocapture ) arg4( Ref nocapture ) + call void @f7 [air Tensor(InitStrided { data: Device, trailing: false })](%i1034, i16 2, %i1035, %i1036, %i1041, i8 0) arg0( Mod nocapture ) arg2( NoModRef ) arg3( Ref nocapture ) arg4( Ref nocapture ) %i1047 = tail call i32 @f9 [air SimdgroupSize(SimdgroupSize { ty: I32 })]() call void @f10(i32 2, i32 16, i32 16, i32 32, i8 0, i8 0, i8 0, i32 1, %i67, i32 268435488, i32 268435488, i32 268435488, %i1047) convergent "no-builtins"="" %i1049 = bitcast %i63 to ptr addrspace(0) @@ -1327,7 +1327,7 @@ bb107: store i32 1, %i1168, align 4 %i1170 = getelementptr inbounds %t30, %i54, i64 0, i32 0, i64 1 store %i1142, %i1170, align 4 - call void @f7 [air Tensor(InitStrided { data: Device })](%i1160, i16 2, %i1161, %i1162, %i1167, i8 0) arg0( Mod nocapture ) arg2( NoModRef ) arg3( Ref nocapture ) arg4( Ref nocapture ) + call void @f7 [air Tensor(InitStrided { data: Device, trailing: false })](%i1160, i16 2, %i1161, %i1162, %i1167, i8 0) arg0( Mod nocapture ) arg2( NoModRef ) arg3( Ref nocapture ) arg4( Ref nocapture ) %i1173 = tail call i32 @f9 [air SimdgroupSize(SimdgroupSize { ty: I32 })]() %i1174 = shl i32 %i1173, i32 1 call void @f10(i32 2, i32 16, i32 64, i32 16, i8 0, i8 0, i8 0, i32 1, %i56, i32 268435488, i32 268435488, i32 268435488, %i1174) convergent "no-builtins"="" @@ -1359,7 +1359,7 @@ bb109: store i32 1, %i1198, align 4 %i1200 = getelementptr inbounds %t30, %i52, i64 0, i32 0, i64 1 store %i1188, %i1200, align 4 - call void @f7 [air Tensor(InitStrided { data: Device })](%i1190, i16 2, %i1191, %i1192, %i1197, i8 0) arg0( Mod nocapture ) arg2( NoModRef ) arg3( Ref nocapture ) arg4( Ref nocapture ) + call void @f7 [air Tensor(InitStrided { data: Device, trailing: false })](%i1190, i16 2, %i1191, %i1192, %i1197, i8 0) arg0( Mod nocapture ) arg2( NoModRef ) arg3( Ref nocapture ) arg4( Ref nocapture ) %i1203 = bitcast %i50 to ptr addrspace(0) call void @f48 [llvm Memcpy { dst: Thread, src: Thread, len: I64, volatile: false }](%i1203, ptr addrspace(0) @g6, i64 20, i1 0) arg0( align 4 dereferenceable(20) ) arg1( align 4 dereferenceable(20) ) %i1205 = call ptr addrspace(0) @f14(i32 2, i32 16, i32 64, i32 16, i8 0, i8 0, i8 0, i32 1, %i56, i16 65535, i32 268435488, i32 268435488, i32 268435488) convergent "no-builtins"="" @@ -1446,7 +1446,7 @@ bb118: store i32 1, %i1276, align 4 %i1278 = getelementptr inbounds %t30, %i43, i64 0, i32 0, i64 1 store %i1250, %i1278, align 4 - call void @f7 [air Tensor(InitStrided { data: Device })](%i1268, i16 2, %i1269, %i1270, %i1275, i8 1) arg0( Mod nocapture ) arg2( NoModRef ) arg3( Ref nocapture ) arg4( Ref nocapture ) + call void @f7 [air Tensor(InitStrided { data: Device, trailing: false })](%i1268, i16 2, %i1269, %i1270, %i1275, i8 1) arg0( Mod nocapture ) arg2( NoModRef ) arg3( Ref nocapture ) arg4( Ref nocapture ) %i1281 = tail call i32 @f9 [air SimdgroupSize(SimdgroupSize { ty: I32 })]() %i1282 = shl i32 %i1281, i32 2 call void @f10(i32 2, i32 64, i32 64, i32 32, i8 0, i8 0, i8 0, i32 1, %i45, i32 268435472, i32 268435472, i32 268435488, %i1282) convergent "no-builtins"="" @@ -1478,7 +1478,7 @@ bb120: store i32 1, %i1306, align 4 %i1308 = getelementptr inbounds %t30, %i41, i64 0, i32 0, i64 1 store %i1296, %i1308, align 4 - call void @f7 [air Tensor(InitStrided { data: Device })](%i1298, i16 2, %i1299, %i1300, %i1305, i8 1) arg0( Mod nocapture ) arg2( NoModRef ) arg3( Ref nocapture ) arg4( Ref nocapture ) + call void @f7 [air Tensor(InitStrided { data: Device, trailing: false })](%i1298, i16 2, %i1299, %i1300, %i1305, i8 1) arg0( Mod nocapture ) arg2( NoModRef ) arg3( Ref nocapture ) arg4( Ref nocapture ) %i1311 = bitcast %i39 to ptr addrspace(0) call void @f48 [llvm Memcpy { dst: Thread, src: Thread, len: I64, volatile: false }](%i1311, ptr addrspace(0) @g7, i64 20, i1 0) arg0( align 4 dereferenceable(20) ) arg1( align 4 dereferenceable(20) ) %i1313 = call ptr addrspace(0) @f14(i32 2, i32 64, i32 64, i32 32, i8 0, i8 0, i8 0, i32 1, %i45, i16 65535, i32 268435472, i32 268435472, i32 268435488) convergent "no-builtins"="" @@ -1565,7 +1565,7 @@ bb129: store i32 1, %i1384, align 4 %i1386 = getelementptr inbounds %t30, %i32, i64 0, i32 0, i64 1 store %i1358, %i1386, align 4 - call void @f7 [air Tensor(InitStrided { data: Device })](%i1376, i16 2, %i1377, %i1378, %i1383, i8 0) arg0( Mod nocapture ) arg2( NoModRef ) arg3( Ref nocapture ) arg4( Ref nocapture ) + call void @f7 [air Tensor(InitStrided { data: Device, trailing: false })](%i1376, i16 2, %i1377, %i1378, %i1383, i8 0) arg0( Mod nocapture ) arg2( NoModRef ) arg3( Ref nocapture ) arg4( Ref nocapture ) %i1389 = tail call i32 @f9 [air SimdgroupSize(SimdgroupSize { ty: I32 })]() %i1390 = shl i32 %i1389, i32 2 call void @f10(i32 2, i32 64, i32 64, i32 32, i8 0, i8 0, i8 0, i32 1, %i34, i32 268435488, i32 268435488, i32 268435488, %i1390) convergent "no-builtins"="" @@ -1597,7 +1597,7 @@ bb131: store i32 1, %i1414, align 4 %i1416 = getelementptr inbounds %t30, %i30, i64 0, i32 0, i64 1 store %i1404, %i1416, align 4 - call void @f7 [air Tensor(InitStrided { data: Device })](%i1406, i16 2, %i1407, %i1408, %i1413, i8 0) arg0( Mod nocapture ) arg2( NoModRef ) arg3( Ref nocapture ) arg4( Ref nocapture ) + call void @f7 [air Tensor(InitStrided { data: Device, trailing: false })](%i1406, i16 2, %i1407, %i1408, %i1413, i8 0) arg0( Mod nocapture ) arg2( NoModRef ) arg3( Ref nocapture ) arg4( Ref nocapture ) %i1419 = bitcast %i28 to ptr addrspace(0) call void @f48 [llvm Memcpy { dst: Thread, src: Thread, len: I64, volatile: false }](%i1419, ptr addrspace(0) @g7, i64 20, i1 0) arg0( align 4 dereferenceable(20) ) arg1( align 4 dereferenceable(20) ) %i1421 = call ptr addrspace(0) @f14(i32 2, i32 64, i32 64, i32 32, i8 0, i8 0, i8 0, i32 1, %i34, i16 65535, i32 268435488, i32 268435488, i32 268435488) convergent "no-builtins"="" @@ -1684,7 +1684,7 @@ bb140: store i32 1, %i1492, align 4 %i1494 = getelementptr inbounds %t30, %i20, i64 0, i32 0, i64 1 store %i1466, %i1494, align 4 - call void @f7 [air Tensor(InitStrided { data: Device })](%i1484, i16 2, %i1485, %i1486, %i1491, i8 2) arg0( Mod nocapture ) arg2( NoModRef ) arg3( Ref nocapture ) arg4( Ref nocapture ) + call void @f7 [air Tensor(InitStrided { data: Device, trailing: false })](%i1484, i16 2, %i1485, %i1486, %i1491, i8 2) arg0( Mod nocapture ) arg2( NoModRef ) arg3( Ref nocapture ) arg4( Ref nocapture ) %i1497 = tail call i32 @f9 [air SimdgroupSize(SimdgroupSize { ty: I32 })]() call void @f10(i32 2, i32 32, i32 32, i32 32, i8 0, i8 1, i8 0, i32 1, %i22, i32 2415919120, i32 2415919120, i32 268435488, %i1497) convergent "no-builtins"="" %i1499 = bitcast %i15 to ptr addrspace(0) @@ -1715,7 +1715,7 @@ bb142: store i32 1, %i1521, align 4 %i1523 = getelementptr inbounds %t30, %i18, i64 0, i32 0, i64 1 store %i1511, %i1523, align 4 - call void @f7 [air Tensor(InitStrided { data: Device })](%i1513, i16 2, %i1514, %i1515, %i1520, i8 2) arg0( Mod nocapture ) arg2( NoModRef ) arg3( Ref nocapture ) arg4( Ref nocapture ) + call void @f7 [air Tensor(InitStrided { data: Device, trailing: false })](%i1513, i16 2, %i1514, %i1515, %i1520, i8 2) arg0( Mod nocapture ) arg2( NoModRef ) arg3( Ref nocapture ) arg4( Ref nocapture ) %i1526 = bitcast %i16 to ptr addrspace(0) call void @f48 [llvm Memcpy { dst: Thread, src: Thread, len: I64, volatile: false }](%i1526, ptr addrspace(0) @g8, i64 20, i1 0) arg0( align 4 dereferenceable(20) ) arg1( align 4 dereferenceable(20) ) %i1528 = call ptr addrspace(0) @f14(i32 2, i32 32, i32 32, i32 32, i8 0, i8 1, i8 0, i32 1, %i22, i16 65535, i32 2415919120, i32 2415919120, i32 268435488) convergent "no-builtins"="" @@ -1802,7 +1802,7 @@ bb151: store i32 1, %i1599, align 4 %i1601 = getelementptr inbounds %t30, %i8, i64 0, i32 0, i64 1 store %i1573, %i1601, align 4 - call void @f7 [air Tensor(InitStrided { data: Device })](%i1591, i16 2, %i1592, %i1593, %i1598, i8 1) arg0( Mod nocapture ) arg2( NoModRef ) arg3( Ref nocapture ) arg4( Ref nocapture ) + call void @f7 [air Tensor(InitStrided { data: Device, trailing: false })](%i1591, i16 2, %i1592, %i1593, %i1598, i8 1) arg0( Mod nocapture ) arg2( NoModRef ) arg3( Ref nocapture ) arg4( Ref nocapture ) %i1604 = tail call i32 @f9 [air SimdgroupSize(SimdgroupSize { ty: I32 })]() %i1605 = shl i32 %i1604, i32 2 call void @f10(i32 2, i32 64, i32 64, i32 32, i8 0, i8 1, i8 0, i32 1, %i10, i32 268435472, i32 268435472, i32 268435488, %i1605) convergent "no-builtins"="" @@ -1834,7 +1834,7 @@ bb153: store i32 1, %i1629, align 4 %i1631 = getelementptr inbounds %t30, %i6, i64 0, i32 0, i64 1 store %i1619, %i1631, align 4 - call void @f7 [air Tensor(InitStrided { data: Device })](%i1621, i16 2, %i1622, %i1623, %i1628, i8 1) arg0( Mod nocapture ) arg2( NoModRef ) arg3( Ref nocapture ) arg4( Ref nocapture ) + call void @f7 [air Tensor(InitStrided { data: Device, trailing: false })](%i1621, i16 2, %i1622, %i1623, %i1628, i8 1) arg0( Mod nocapture ) arg2( NoModRef ) arg3( Ref nocapture ) arg4( Ref nocapture ) %i1634 = bitcast %i4 to ptr addrspace(0) call void @f48 [llvm Memcpy { dst: Thread, src: Thread, len: I64, volatile: false }](%i1634, ptr addrspace(0) @g9, i64 20, i1 0) arg0( align 4 dereferenceable(20) ) arg1( align 4 dereferenceable(20) ) %i1636 = call ptr addrspace(0) @f14(i32 2, i32 64, i32 64, i32 32, i8 0, i8 1, i8 0, i32 1, %i10, i16 65535, i32 268435472, i32 268435472, i32 268435488) convergent "no-builtins"="" diff --git a/crates/metal2vulkan/tests/air_input/tns_mm_flags.txt b/crates/metal2vulkan/tests/air_input/tns_mm_flags.txt index 11f013d56..22ebd7847 100644 --- a/crates/metal2vulkan/tests/air_input/tns_mm_flags.txt +++ b/crates/metal2vulkan/tests/air_input/tns_mm_flags.txt @@ -348,7 +348,7 @@ bb1: store i32 1, %i275, align 4 %i277 = getelementptr inbounds %t30, %i241, i64 0, i32 0, i64 1 store %i249, %i277, align 4 - call void @f7 [air Tensor(InitStrided { data: Device })](%i267, i16 2, %i268, %i269, %i274, i8 0) arg0( Mod nocapture ) arg2( NoModRef ) arg3( Ref nocapture ) arg4( Ref nocapture ) + call void @f7 [air Tensor(InitStrided { data: Device, trailing: false })](%i267, i16 2, %i268, %i269, %i274, i8 0) arg0( Mod nocapture ) arg2( NoModRef ) arg3( Ref nocapture ) arg4( Ref nocapture ) %i280 = tail call i32 @f9 [air SimdgroupSize(SimdgroupSize { ty: I32 })]() call void @f10(i32 2, i32 16, i32 16, i32 32, i8 0, i8 1, i8 1, i32 1, %i243, i32 268435488, i32 268435488, i32 268435488, %i280) convergent "no-builtins"="" %i282 = bitcast %i236 to ptr addrspace(0) @@ -380,7 +380,7 @@ bb3: store i32 1, %i305, align 4 %i307 = getelementptr inbounds %t30, %i239, i64 0, i32 0, i64 1 store %i295, %i307, align 4 - call void @f7 [air Tensor(InitStrided { data: Device })](%i297, i16 2, %i298, %i299, %i304, i8 0) arg0( Mod nocapture ) arg2( NoModRef ) arg3( Ref nocapture ) arg4( Ref nocapture ) + call void @f7 [air Tensor(InitStrided { data: Device, trailing: false })](%i297, i16 2, %i298, %i299, %i304, i8 0) arg0( Mod nocapture ) arg2( NoModRef ) arg3( Ref nocapture ) arg4( Ref nocapture ) %i310 = bitcast %i237 to ptr addrspace(0) call void @f68 [llvm Memcpy { dst: Thread, src: Thread, len: I64, volatile: false }](%i310, ptr addrspace(0) @g2, i64 20, i1 0) arg0( align 4 dereferenceable(20) ) arg1( align 4 dereferenceable(20) ) %i312 = call ptr addrspace(0) @f14(i32 2, i32 16, i32 16, i32 32, i8 0, i8 1, i8 1, i32 1, %i243, i16 65535, i32 268435488, i32 268435488, i32 268435488) convergent "no-builtins"="" @@ -469,7 +469,7 @@ bb12: store i32 1, %i385, align 4 %i387 = getelementptr inbounds %t30, %i230, i64 0, i32 0, i64 1 store %i359, %i387, align 4 - call void @f7 [air Tensor(InitStrided { data: Device })](%i377, i16 2, %i378, %i379, %i384, i8 0) arg0( Mod nocapture ) arg2( NoModRef ) arg3( Ref nocapture ) arg4( Ref nocapture ) + call void @f7 [air Tensor(InitStrided { data: Device, trailing: false })](%i377, i16 2, %i378, %i379, %i384, i8 0) arg0( Mod nocapture ) arg2( NoModRef ) arg3( Ref nocapture ) arg4( Ref nocapture ) %i390 = tail call i32 @f9 [air SimdgroupSize(SimdgroupSize { ty: I32 })]() call void @f10(i32 2, i32 16, i32 16, i32 32, i8 0, i8 0, i8 1, i32 1, %i232, i32 268435488, i32 268435488, i32 268435488, %i390) convergent "no-builtins"="" %i392 = bitcast %i228 to ptr addrspace(0) @@ -616,7 +616,7 @@ bb30: store i32 1, %i514, align 4 %i516 = getelementptr inbounds %t30, %i219, i64 0, i32 0, i64 1 store %i488, %i516, align 4 - call void @f7 [air Tensor(InitStrided { data: Device })](%i506, i16 2, %i507, %i508, %i513, i8 0) arg0( Mod nocapture ) arg2( NoModRef ) arg3( Ref nocapture ) arg4( Ref nocapture ) + call void @f7 [air Tensor(InitStrided { data: Device, trailing: false })](%i506, i16 2, %i507, %i508, %i513, i8 0) arg0( Mod nocapture ) arg2( NoModRef ) arg3( Ref nocapture ) arg4( Ref nocapture ) %i519 = tail call i32 @f9 [air SimdgroupSize(SimdgroupSize { ty: I32 })]() %i520 = shl i32 %i519, i32 1 call void @f10(i32 2, i32 16, i32 64, i32 16, i8 0, i8 0, i8 1, i32 1, %i221, i32 268435488, i32 268435488, i32 268435488, %i520) convergent "no-builtins"="" @@ -649,7 +649,7 @@ bb32: store i32 1, %i545, align 4 %i547 = getelementptr inbounds %t30, %i217, i64 0, i32 0, i64 1 store %i535, %i547, align 4 - call void @f7 [air Tensor(InitStrided { data: Device })](%i537, i16 2, %i538, %i539, %i544, i8 0) arg0( Mod nocapture ) arg2( NoModRef ) arg3( Ref nocapture ) arg4( Ref nocapture ) + call void @f7 [air Tensor(InitStrided { data: Device, trailing: false })](%i537, i16 2, %i538, %i539, %i544, i8 0) arg0( Mod nocapture ) arg2( NoModRef ) arg3( Ref nocapture ) arg4( Ref nocapture ) %i550 = bitcast %i215 to ptr addrspace(0) call void @f68 [llvm Memcpy { dst: Thread, src: Thread, len: I64, volatile: false }](%i550, ptr addrspace(0) @g4, i64 20, i1 0) arg0( align 4 dereferenceable(20) ) arg1( align 4 dereferenceable(20) ) %i552 = call ptr addrspace(0) @f14(i32 2, i32 16, i32 64, i32 16, i8 0, i8 0, i8 1, i32 1, %i221, i16 65535, i32 268435488, i32 268435488, i32 268435488) convergent "no-builtins"="" @@ -738,7 +738,7 @@ bb41: store i32 1, %i625, align 4 %i627 = getelementptr inbounds %t30, %i208, i64 0, i32 0, i64 1 store %i599, %i627, align 4 - call void @f7 [air Tensor(InitStrided { data: Device })](%i617, i16 2, %i618, %i619, %i624, i8 1) arg0( Mod nocapture ) arg2( NoModRef ) arg3( Ref nocapture ) arg4( Ref nocapture ) + call void @f7 [air Tensor(InitStrided { data: Device, trailing: false })](%i617, i16 2, %i618, %i619, %i624, i8 1) arg0( Mod nocapture ) arg2( NoModRef ) arg3( Ref nocapture ) arg4( Ref nocapture ) %i630 = tail call i32 @f9 [air SimdgroupSize(SimdgroupSize { ty: I32 })]() %i631 = shl i32 %i630, i32 2 call void @f10(i32 2, i32 64, i32 64, i32 32, i8 0, i8 0, i8 1, i32 1, %i210, i32 268435472, i32 268435472, i32 268435488, %i631) convergent "no-builtins"="" @@ -771,7 +771,7 @@ bb43: store i32 1, %i656, align 4 %i658 = getelementptr inbounds %t30, %i206, i64 0, i32 0, i64 1 store %i646, %i658, align 4 - call void @f7 [air Tensor(InitStrided { data: Device })](%i648, i16 2, %i649, %i650, %i655, i8 1) arg0( Mod nocapture ) arg2( NoModRef ) arg3( Ref nocapture ) arg4( Ref nocapture ) + call void @f7 [air Tensor(InitStrided { data: Device, trailing: false })](%i648, i16 2, %i649, %i650, %i655, i8 1) arg0( Mod nocapture ) arg2( NoModRef ) arg3( Ref nocapture ) arg4( Ref nocapture ) %i661 = bitcast %i204 to ptr addrspace(0) call void @f68 [llvm Memcpy { dst: Thread, src: Thread, len: I64, volatile: false }](%i661, ptr addrspace(0) @g5, i64 20, i1 0) arg0( align 4 dereferenceable(20) ) arg1( align 4 dereferenceable(20) ) %i663 = call ptr addrspace(0) @f14(i32 2, i32 64, i32 64, i32 32, i8 0, i8 0, i8 1, i32 1, %i210, i16 65535, i32 268435472, i32 268435472, i32 268435488) convergent "no-builtins"="" @@ -860,7 +860,7 @@ bb52: store i32 1, %i736, align 4 %i738 = getelementptr inbounds %t30, %i197, i64 0, i32 0, i64 1 store %i710, %i738, align 4 - call void @f7 [air Tensor(InitStrided { data: Device })](%i728, i16 2, %i729, %i730, %i735, i8 0) arg0( Mod nocapture ) arg2( NoModRef ) arg3( Ref nocapture ) arg4( Ref nocapture ) + call void @f7 [air Tensor(InitStrided { data: Device, trailing: false })](%i728, i16 2, %i729, %i730, %i735, i8 0) arg0( Mod nocapture ) arg2( NoModRef ) arg3( Ref nocapture ) arg4( Ref nocapture ) %i741 = tail call i32 @f9 [air SimdgroupSize(SimdgroupSize { ty: I32 })]() %i742 = shl i32 %i741, i32 2 call void @f10(i32 2, i32 64, i32 64, i32 32, i8 0, i8 0, i8 1, i32 1, %i199, i32 268435488, i32 268435488, i32 268435488, %i742) convergent "no-builtins"="" @@ -893,7 +893,7 @@ bb54: store i32 1, %i767, align 4 %i769 = getelementptr inbounds %t30, %i195, i64 0, i32 0, i64 1 store %i757, %i769, align 4 - call void @f7 [air Tensor(InitStrided { data: Device })](%i759, i16 2, %i760, %i761, %i766, i8 0) arg0( Mod nocapture ) arg2( NoModRef ) arg3( Ref nocapture ) arg4( Ref nocapture ) + call void @f7 [air Tensor(InitStrided { data: Device, trailing: false })](%i759, i16 2, %i760, %i761, %i766, i8 0) arg0( Mod nocapture ) arg2( NoModRef ) arg3( Ref nocapture ) arg4( Ref nocapture ) %i772 = bitcast %i193 to ptr addrspace(0) call void @f68 [llvm Memcpy { dst: Thread, src: Thread, len: I64, volatile: false }](%i772, ptr addrspace(0) @g5, i64 20, i1 0) arg0( align 4 dereferenceable(20) ) arg1( align 4 dereferenceable(20) ) %i774 = call ptr addrspace(0) @f14(i32 2, i32 64, i32 64, i32 32, i8 0, i8 0, i8 1, i32 1, %i199, i16 65535, i32 268435488, i32 268435488, i32 268435488) convergent "no-builtins"="" @@ -982,7 +982,7 @@ bb63: store i32 1, %i847, align 4 %i849 = getelementptr inbounds %t30, %i186, i64 0, i32 0, i64 1 store %i821, %i849, align 4 - call void @f7 [air Tensor(InitStrided { data: Device })](%i839, i16 2, %i840, %i841, %i846, i8 2) arg0( Mod nocapture ) arg2( NoModRef ) arg3( Ref nocapture ) arg4( Ref nocapture ) + call void @f7 [air Tensor(InitStrided { data: Device, trailing: false })](%i839, i16 2, %i840, %i841, %i846, i8 2) arg0( Mod nocapture ) arg2( NoModRef ) arg3( Ref nocapture ) arg4( Ref nocapture ) %i852 = tail call i32 @f9 [air SimdgroupSize(SimdgroupSize { ty: I32 })]() call void @f10(i32 2, i32 32, i32 32, i32 32, i8 0, i8 1, i8 1, i32 1, %i188, i32 2415919120, i32 2415919120, i32 268435488, %i852) convergent "no-builtins"="" %i854 = bitcast %i181 to ptr addrspace(0) @@ -1014,7 +1014,7 @@ bb65: store i32 1, %i877, align 4 %i879 = getelementptr inbounds %t30, %i184, i64 0, i32 0, i64 1 store %i867, %i879, align 4 - call void @f7 [air Tensor(InitStrided { data: Device })](%i869, i16 2, %i870, %i871, %i876, i8 2) arg0( Mod nocapture ) arg2( NoModRef ) arg3( Ref nocapture ) arg4( Ref nocapture ) + call void @f7 [air Tensor(InitStrided { data: Device, trailing: false })](%i869, i16 2, %i870, %i871, %i876, i8 2) arg0( Mod nocapture ) arg2( NoModRef ) arg3( Ref nocapture ) arg4( Ref nocapture ) %i882 = bitcast %i182 to ptr addrspace(0) call void @f68 [llvm Memcpy { dst: Thread, src: Thread, len: I64, volatile: false }](%i882, ptr addrspace(0) @g6, i64 20, i1 0) arg0( align 4 dereferenceable(20) ) arg1( align 4 dereferenceable(20) ) %i884 = call ptr addrspace(0) @f14(i32 2, i32 32, i32 32, i32 32, i8 0, i8 1, i8 1, i32 1, %i188, i16 65535, i32 2415919120, i32 2415919120, i32 268435488) convergent "no-builtins"="" @@ -1103,7 +1103,7 @@ bb74: store i32 1, %i957, align 4 %i959 = getelementptr inbounds %t30, %i175, i64 0, i32 0, i64 1 store %i931, %i959, align 4 - call void @f7 [air Tensor(InitStrided { data: Device })](%i949, i16 2, %i950, %i951, %i956, i8 1) arg0( Mod nocapture ) arg2( NoModRef ) arg3( Ref nocapture ) arg4( Ref nocapture ) + call void @f7 [air Tensor(InitStrided { data: Device, trailing: false })](%i949, i16 2, %i950, %i951, %i956, i8 1) arg0( Mod nocapture ) arg2( NoModRef ) arg3( Ref nocapture ) arg4( Ref nocapture ) %i962 = tail call i32 @f9 [air SimdgroupSize(SimdgroupSize { ty: I32 })]() %i963 = shl i32 %i962, i32 2 call void @f10(i32 2, i32 64, i32 64, i32 32, i8 0, i8 1, i8 1, i32 1, %i177, i32 268435472, i32 268435472, i32 268435488, %i963) convergent "no-builtins"="" @@ -1136,7 +1136,7 @@ bb76: store i32 1, %i988, align 4 %i990 = getelementptr inbounds %t30, %i173, i64 0, i32 0, i64 1 store %i978, %i990, align 4 - call void @f7 [air Tensor(InitStrided { data: Device })](%i980, i16 2, %i981, %i982, %i987, i8 1) arg0( Mod nocapture ) arg2( NoModRef ) arg3( Ref nocapture ) arg4( Ref nocapture ) + call void @f7 [air Tensor(InitStrided { data: Device, trailing: false })](%i980, i16 2, %i981, %i982, %i987, i8 1) arg0( Mod nocapture ) arg2( NoModRef ) arg3( Ref nocapture ) arg4( Ref nocapture ) %i993 = bitcast %i171 to ptr addrspace(0) call void @f68 [llvm Memcpy { dst: Thread, src: Thread, len: I64, volatile: false }](%i993, ptr addrspace(0) @g7, i64 20, i1 0) arg0( align 4 dereferenceable(20) ) arg1( align 4 dereferenceable(20) ) %i995 = call ptr addrspace(0) @f14(i32 2, i32 64, i32 64, i32 32, i8 0, i8 1, i8 1, i32 1, %i177, i16 65535, i32 268435472, i32 268435472, i32 268435488) convergent "no-builtins"="" @@ -1225,7 +1225,7 @@ bb85: store i32 1, %i1068, align 4 %i1070 = getelementptr inbounds %t30, %i164, i64 0, i32 0, i64 1 store %i1042, %i1070, align 4 - call void @f7 [air Tensor(InitStrided { data: Device })](%i1060, i16 2, %i1061, %i1062, %i1067, i8 0) arg0( Mod nocapture ) arg2( NoModRef ) arg3( Ref nocapture ) arg4( Ref nocapture ) + call void @f7 [air Tensor(InitStrided { data: Device, trailing: false })](%i1060, i16 2, %i1061, %i1062, %i1067, i8 0) arg0( Mod nocapture ) arg2( NoModRef ) arg3( Ref nocapture ) arg4( Ref nocapture ) %i1073 = tail call i32 @f9 [air SimdgroupSize(SimdgroupSize { ty: I32 })]() %i1074 = shl i32 %i1073, i32 2 call void @f10(i32 2, i32 128, i32 128, i32 32, i8 0, i8 0, i8 1, i32 1, %i166, i32 268435488, i32 268435488, i32 268435488, %i1074) convergent "no-builtins"="" @@ -1258,7 +1258,7 @@ bb87: store i32 1, %i1099, align 4 %i1101 = getelementptr inbounds %t30, %i162, i64 0, i32 0, i64 1 store %i1089, %i1101, align 4 - call void @f7 [air Tensor(InitStrided { data: Device })](%i1091, i16 2, %i1092, %i1093, %i1098, i8 0) arg0( Mod nocapture ) arg2( NoModRef ) arg3( Ref nocapture ) arg4( Ref nocapture ) + call void @f7 [air Tensor(InitStrided { data: Device, trailing: false })](%i1091, i16 2, %i1092, %i1093, %i1098, i8 0) arg0( Mod nocapture ) arg2( NoModRef ) arg3( Ref nocapture ) arg4( Ref nocapture ) %i1104 = bitcast %i160 to ptr addrspace(0) call void @f68 [llvm Memcpy { dst: Thread, src: Thread, len: I64, volatile: false }](%i1104, ptr addrspace(0) @g8, i64 20, i1 0) arg0( align 4 dereferenceable(20) ) arg1( align 4 dereferenceable(20) ) %i1106 = call ptr addrspace(0) @f14(i32 2, i32 128, i32 128, i32 32, i8 0, i8 0, i8 1, i32 1, %i166, i16 65535, i32 268435488, i32 268435488, i32 268435488) convergent "no-builtins"="" @@ -1347,7 +1347,7 @@ bb96: store i32 1, %i1179, align 4 %i1181 = getelementptr inbounds %t30, %i153, i64 0, i32 0, i64 1 store %i1153, %i1181, align 4 - call void @f7 [air Tensor(InitStrided { data: Device })](%i1171, i16 2, %i1172, %i1173, %i1178, i8 0) arg0( Mod nocapture ) arg2( NoModRef ) arg3( Ref nocapture ) arg4( Ref nocapture ) + call void @f7 [air Tensor(InitStrided { data: Device, trailing: false })](%i1171, i16 2, %i1172, %i1173, %i1178, i8 0) arg0( Mod nocapture ) arg2( NoModRef ) arg3( Ref nocapture ) arg4( Ref nocapture ) %i1184 = tail call i32 @f9 [air SimdgroupSize(SimdgroupSize { ty: I32 })]() %i1185 = shl i32 %i1184, i32 2 call void @f10(i32 2, i32 8, i32 128, i32 32, i8 0, i8 0, i8 1, i32 1, %i155, i32 268435488, i32 268435488, i32 268435488, %i1185) convergent "no-builtins"="" @@ -1380,7 +1380,7 @@ bb98: store i32 1, %i1210, align 4 %i1212 = getelementptr inbounds %t30, %i151, i64 0, i32 0, i64 1 store %i1200, %i1212, align 4 - call void @f7 [air Tensor(InitStrided { data: Device })](%i1202, i16 2, %i1203, %i1204, %i1209, i8 0) arg0( Mod nocapture ) arg2( NoModRef ) arg3( Ref nocapture ) arg4( Ref nocapture ) + call void @f7 [air Tensor(InitStrided { data: Device, trailing: false })](%i1202, i16 2, %i1203, %i1204, %i1209, i8 0) arg0( Mod nocapture ) arg2( NoModRef ) arg3( Ref nocapture ) arg4( Ref nocapture ) %i1215 = bitcast %i149 to ptr addrspace(0) call void @f68 [llvm Memcpy { dst: Thread, src: Thread, len: I64, volatile: false }](%i1215, ptr addrspace(0) @g9, i64 20, i1 0) arg0( align 4 dereferenceable(20) ) arg1( align 4 dereferenceable(20) ) %i1217 = call ptr addrspace(0) @f14(i32 2, i32 8, i32 128, i32 32, i8 0, i8 0, i8 1, i32 1, %i155, i16 65535, i32 268435488, i32 268435488, i32 268435488) convergent "no-builtins"="" @@ -1469,7 +1469,7 @@ bb107: store i32 1, %i1290, align 4 %i1292 = getelementptr inbounds %t30, %i142, i64 0, i32 0, i64 1 store %i1264, %i1292, align 4 - call void @f7 [air Tensor(InitStrided { data: Device })](%i1282, i16 2, %i1283, %i1284, %i1289, i8 0) arg0( Mod nocapture ) arg2( NoModRef ) arg3( Ref nocapture ) arg4( Ref nocapture ) + call void @f7 [air Tensor(InitStrided { data: Device, trailing: false })](%i1282, i16 2, %i1283, %i1284, %i1289, i8 0) arg0( Mod nocapture ) arg2( NoModRef ) arg3( Ref nocapture ) arg4( Ref nocapture ) %i1295 = tail call i32 @f9 [air SimdgroupSize(SimdgroupSize { ty: I32 })]() call void @f10(i32 2, i32 16, i32 16, i32 32, i8 0, i8 1, i8 0, i32 0, %i144, i32 268435488, i32 268435488, i32 268435488, %i1295) convergent "no-builtins"="" %i1297 = bitcast %i137 to ptr addrspace(0) @@ -1501,7 +1501,7 @@ bb109: store i32 1, %i1320, align 4 %i1322 = getelementptr inbounds %t30, %i140, i64 0, i32 0, i64 1 store %i1310, %i1322, align 4 - call void @f7 [air Tensor(InitStrided { data: Device })](%i1312, i16 2, %i1313, %i1314, %i1319, i8 0) arg0( Mod nocapture ) arg2( NoModRef ) arg3( Ref nocapture ) arg4( Ref nocapture ) + call void @f7 [air Tensor(InitStrided { data: Device, trailing: false })](%i1312, i16 2, %i1313, %i1314, %i1319, i8 0) arg0( Mod nocapture ) arg2( NoModRef ) arg3( Ref nocapture ) arg4( Ref nocapture ) %i1325 = bitcast %i138 to ptr addrspace(0) call void @f68 [llvm Memcpy { dst: Thread, src: Thread, len: I64, volatile: false }](%i1325, ptr addrspace(0) @g10, i64 20, i1 0) arg0( align 4 dereferenceable(20) ) arg1( align 4 dereferenceable(20) ) %i1327 = call ptr addrspace(0) @f14(i32 2, i32 16, i32 16, i32 32, i8 0, i8 1, i8 0, i32 0, %i144, i16 65535, i32 268435488, i32 268435488, i32 268435488) convergent "no-builtins"="" @@ -1590,7 +1590,7 @@ bb118: store i32 1, %i1400, align 4 %i1402 = getelementptr inbounds %t30, %i131, i64 0, i32 0, i64 1 store %i1374, %i1402, align 4 - call void @f7 [air Tensor(InitStrided { data: Device })](%i1392, i16 2, %i1393, %i1394, %i1399, i8 0) arg0( Mod nocapture ) arg2( NoModRef ) arg3( Ref nocapture ) arg4( Ref nocapture ) + call void @f7 [air Tensor(InitStrided { data: Device, trailing: false })](%i1392, i16 2, %i1393, %i1394, %i1399, i8 0) arg0( Mod nocapture ) arg2( NoModRef ) arg3( Ref nocapture ) arg4( Ref nocapture ) %i1405 = tail call i32 @f9 [air SimdgroupSize(SimdgroupSize { ty: I32 })]() call void @f10(i32 2, i32 16, i32 16, i32 32, i8 0, i8 0, i8 0, i32 0, %i133, i32 268435488, i32 268435488, i32 268435488, %i1405) convergent "no-builtins"="" %i1407 = bitcast %i129 to ptr addrspace(0) @@ -1737,7 +1737,7 @@ bb136: store i32 1, %i1529, align 4 %i1531 = getelementptr inbounds %t30, %i120, i64 0, i32 0, i64 1 store %i1503, %i1531, align 4 - call void @f7 [air Tensor(InitStrided { data: Device })](%i1521, i16 2, %i1522, %i1523, %i1528, i8 0) arg0( Mod nocapture ) arg2( NoModRef ) arg3( Ref nocapture ) arg4( Ref nocapture ) + call void @f7 [air Tensor(InitStrided { data: Device, trailing: false })](%i1521, i16 2, %i1522, %i1523, %i1528, i8 0) arg0( Mod nocapture ) arg2( NoModRef ) arg3( Ref nocapture ) arg4( Ref nocapture ) %i1534 = tail call i32 @f9 [air SimdgroupSize(SimdgroupSize { ty: I32 })]() %i1535 = shl i32 %i1534, i32 1 call void @f10(i32 2, i32 16, i32 64, i32 16, i8 0, i8 0, i8 0, i32 0, %i122, i32 268435488, i32 268435488, i32 268435488, %i1535) convergent "no-builtins"="" @@ -1770,7 +1770,7 @@ bb138: store i32 1, %i1560, align 4 %i1562 = getelementptr inbounds %t30, %i118, i64 0, i32 0, i64 1 store %i1550, %i1562, align 4 - call void @f7 [air Tensor(InitStrided { data: Device })](%i1552, i16 2, %i1553, %i1554, %i1559, i8 0) arg0( Mod nocapture ) arg2( NoModRef ) arg3( Ref nocapture ) arg4( Ref nocapture ) + call void @f7 [air Tensor(InitStrided { data: Device, trailing: false })](%i1552, i16 2, %i1553, %i1554, %i1559, i8 0) arg0( Mod nocapture ) arg2( NoModRef ) arg3( Ref nocapture ) arg4( Ref nocapture ) %i1565 = bitcast %i116 to ptr addrspace(0) call void @f68 [llvm Memcpy { dst: Thread, src: Thread, len: I64, volatile: false }](%i1565, ptr addrspace(0) @g12, i64 20, i1 0) arg0( align 4 dereferenceable(20) ) arg1( align 4 dereferenceable(20) ) %i1567 = call ptr addrspace(0) @f14(i32 2, i32 16, i32 64, i32 16, i8 0, i8 0, i8 0, i32 0, %i122, i16 65535, i32 268435488, i32 268435488, i32 268435488) convergent "no-builtins"="" @@ -1859,7 +1859,7 @@ bb147: store i32 1, %i1640, align 4 %i1642 = getelementptr inbounds %t30, %i109, i64 0, i32 0, i64 1 store %i1614, %i1642, align 4 - call void @f7 [air Tensor(InitStrided { data: Device })](%i1632, i16 2, %i1633, %i1634, %i1639, i8 1) arg0( Mod nocapture ) arg2( NoModRef ) arg3( Ref nocapture ) arg4( Ref nocapture ) + call void @f7 [air Tensor(InitStrided { data: Device, trailing: false })](%i1632, i16 2, %i1633, %i1634, %i1639, i8 1) arg0( Mod nocapture ) arg2( NoModRef ) arg3( Ref nocapture ) arg4( Ref nocapture ) %i1645 = tail call i32 @f9 [air SimdgroupSize(SimdgroupSize { ty: I32 })]() %i1646 = shl i32 %i1645, i32 2 call void @f10(i32 2, i32 64, i32 64, i32 32, i8 0, i8 0, i8 0, i32 0, %i111, i32 268435472, i32 268435472, i32 268435488, %i1646) convergent "no-builtins"="" @@ -1892,7 +1892,7 @@ bb149: store i32 1, %i1671, align 4 %i1673 = getelementptr inbounds %t30, %i107, i64 0, i32 0, i64 1 store %i1661, %i1673, align 4 - call void @f7 [air Tensor(InitStrided { data: Device })](%i1663, i16 2, %i1664, %i1665, %i1670, i8 1) arg0( Mod nocapture ) arg2( NoModRef ) arg3( Ref nocapture ) arg4( Ref nocapture ) + call void @f7 [air Tensor(InitStrided { data: Device, trailing: false })](%i1663, i16 2, %i1664, %i1665, %i1670, i8 1) arg0( Mod nocapture ) arg2( NoModRef ) arg3( Ref nocapture ) arg4( Ref nocapture ) %i1676 = bitcast %i105 to ptr addrspace(0) call void @f68 [llvm Memcpy { dst: Thread, src: Thread, len: I64, volatile: false }](%i1676, ptr addrspace(0) @g13, i64 20, i1 0) arg0( align 4 dereferenceable(20) ) arg1( align 4 dereferenceable(20) ) %i1678 = call ptr addrspace(0) @f14(i32 2, i32 64, i32 64, i32 32, i8 0, i8 0, i8 0, i32 0, %i111, i16 65535, i32 268435472, i32 268435472, i32 268435488) convergent "no-builtins"="" @@ -1981,7 +1981,7 @@ bb158: store i32 1, %i1751, align 4 %i1753 = getelementptr inbounds %t30, %i98, i64 0, i32 0, i64 1 store %i1725, %i1753, align 4 - call void @f7 [air Tensor(InitStrided { data: Device })](%i1743, i16 2, %i1744, %i1745, %i1750, i8 0) arg0( Mod nocapture ) arg2( NoModRef ) arg3( Ref nocapture ) arg4( Ref nocapture ) + call void @f7 [air Tensor(InitStrided { data: Device, trailing: false })](%i1743, i16 2, %i1744, %i1745, %i1750, i8 0) arg0( Mod nocapture ) arg2( NoModRef ) arg3( Ref nocapture ) arg4( Ref nocapture ) %i1756 = tail call i32 @f9 [air SimdgroupSize(SimdgroupSize { ty: I32 })]() %i1757 = shl i32 %i1756, i32 2 call void @f10(i32 2, i32 64, i32 64, i32 32, i8 0, i8 0, i8 0, i32 0, %i100, i32 268435488, i32 268435488, i32 268435488, %i1757) convergent "no-builtins"="" @@ -2014,7 +2014,7 @@ bb160: store i32 1, %i1782, align 4 %i1784 = getelementptr inbounds %t30, %i96, i64 0, i32 0, i64 1 store %i1772, %i1784, align 4 - call void @f7 [air Tensor(InitStrided { data: Device })](%i1774, i16 2, %i1775, %i1776, %i1781, i8 0) arg0( Mod nocapture ) arg2( NoModRef ) arg3( Ref nocapture ) arg4( Ref nocapture ) + call void @f7 [air Tensor(InitStrided { data: Device, trailing: false })](%i1774, i16 2, %i1775, %i1776, %i1781, i8 0) arg0( Mod nocapture ) arg2( NoModRef ) arg3( Ref nocapture ) arg4( Ref nocapture ) %i1787 = bitcast %i94 to ptr addrspace(0) call void @f68 [llvm Memcpy { dst: Thread, src: Thread, len: I64, volatile: false }](%i1787, ptr addrspace(0) @g13, i64 20, i1 0) arg0( align 4 dereferenceable(20) ) arg1( align 4 dereferenceable(20) ) %i1789 = call ptr addrspace(0) @f14(i32 2, i32 64, i32 64, i32 32, i8 0, i8 0, i8 0, i32 0, %i100, i16 65535, i32 268435488, i32 268435488, i32 268435488) convergent "no-builtins"="" @@ -2103,7 +2103,7 @@ bb169: store i32 1, %i1862, align 4 %i1864 = getelementptr inbounds %t30, %i87, i64 0, i32 0, i64 1 store %i1836, %i1864, align 4 - call void @f7 [air Tensor(InitStrided { data: Device })](%i1854, i16 2, %i1855, %i1856, %i1861, i8 2) arg0( Mod nocapture ) arg2( NoModRef ) arg3( Ref nocapture ) arg4( Ref nocapture ) + call void @f7 [air Tensor(InitStrided { data: Device, trailing: false })](%i1854, i16 2, %i1855, %i1856, %i1861, i8 2) arg0( Mod nocapture ) arg2( NoModRef ) arg3( Ref nocapture ) arg4( Ref nocapture ) %i1867 = tail call i32 @f9 [air SimdgroupSize(SimdgroupSize { ty: I32 })]() call void @f10(i32 2, i32 32, i32 32, i32 32, i8 0, i8 1, i8 0, i32 0, %i89, i32 2415919120, i32 2415919120, i32 268435488, %i1867) convergent "no-builtins"="" %i1869 = bitcast %i82 to ptr addrspace(0) @@ -2135,7 +2135,7 @@ bb171: store i32 1, %i1892, align 4 %i1894 = getelementptr inbounds %t30, %i85, i64 0, i32 0, i64 1 store %i1882, %i1894, align 4 - call void @f7 [air Tensor(InitStrided { data: Device })](%i1884, i16 2, %i1885, %i1886, %i1891, i8 2) arg0( Mod nocapture ) arg2( NoModRef ) arg3( Ref nocapture ) arg4( Ref nocapture ) + call void @f7 [air Tensor(InitStrided { data: Device, trailing: false })](%i1884, i16 2, %i1885, %i1886, %i1891, i8 2) arg0( Mod nocapture ) arg2( NoModRef ) arg3( Ref nocapture ) arg4( Ref nocapture ) %i1897 = bitcast %i83 to ptr addrspace(0) call void @f68 [llvm Memcpy { dst: Thread, src: Thread, len: I64, volatile: false }](%i1897, ptr addrspace(0) @g14, i64 20, i1 0) arg0( align 4 dereferenceable(20) ) arg1( align 4 dereferenceable(20) ) %i1899 = call ptr addrspace(0) @f14(i32 2, i32 32, i32 32, i32 32, i8 0, i8 1, i8 0, i32 0, %i89, i16 65535, i32 2415919120, i32 2415919120, i32 268435488) convergent "no-builtins"="" @@ -2224,7 +2224,7 @@ bb180: store i32 1, %i1972, align 4 %i1974 = getelementptr inbounds %t30, %i76, i64 0, i32 0, i64 1 store %i1946, %i1974, align 4 - call void @f7 [air Tensor(InitStrided { data: Device })](%i1964, i16 2, %i1965, %i1966, %i1971, i8 1) arg0( Mod nocapture ) arg2( NoModRef ) arg3( Ref nocapture ) arg4( Ref nocapture ) + call void @f7 [air Tensor(InitStrided { data: Device, trailing: false })](%i1964, i16 2, %i1965, %i1966, %i1971, i8 1) arg0( Mod nocapture ) arg2( NoModRef ) arg3( Ref nocapture ) arg4( Ref nocapture ) %i1977 = tail call i32 @f9 [air SimdgroupSize(SimdgroupSize { ty: I32 })]() %i1978 = shl i32 %i1977, i32 2 call void @f10(i32 2, i32 64, i32 64, i32 32, i8 0, i8 1, i8 0, i32 0, %i78, i32 268435472, i32 268435472, i32 268435488, %i1978) convergent "no-builtins"="" @@ -2257,7 +2257,7 @@ bb182: store i32 1, %i2003, align 4 %i2005 = getelementptr inbounds %t30, %i74, i64 0, i32 0, i64 1 store %i1993, %i2005, align 4 - call void @f7 [air Tensor(InitStrided { data: Device })](%i1995, i16 2, %i1996, %i1997, %i2002, i8 1) arg0( Mod nocapture ) arg2( NoModRef ) arg3( Ref nocapture ) arg4( Ref nocapture ) + call void @f7 [air Tensor(InitStrided { data: Device, trailing: false })](%i1995, i16 2, %i1996, %i1997, %i2002, i8 1) arg0( Mod nocapture ) arg2( NoModRef ) arg3( Ref nocapture ) arg4( Ref nocapture ) %i2008 = bitcast %i72 to ptr addrspace(0) call void @f68 [llvm Memcpy { dst: Thread, src: Thread, len: I64, volatile: false }](%i2008, ptr addrspace(0) @g15, i64 20, i1 0) arg0( align 4 dereferenceable(20) ) arg1( align 4 dereferenceable(20) ) %i2010 = call ptr addrspace(0) @f14(i32 2, i32 64, i32 64, i32 32, i8 0, i8 1, i8 0, i32 0, %i78, i16 65535, i32 268435472, i32 268435472, i32 268435488) convergent "no-builtins"="" @@ -2346,7 +2346,7 @@ bb191: store i32 1, %i2083, align 4 %i2085 = getelementptr inbounds %t30, %i65, i64 0, i32 0, i64 1 store %i2057, %i2085, align 4 - call void @f7 [air Tensor(InitStrided { data: Device })](%i2075, i16 2, %i2076, %i2077, %i2082, i8 0) arg0( Mod nocapture ) arg2( NoModRef ) arg3( Ref nocapture ) arg4( Ref nocapture ) + call void @f7 [air Tensor(InitStrided { data: Device, trailing: false })](%i2075, i16 2, %i2076, %i2077, %i2082, i8 0) arg0( Mod nocapture ) arg2( NoModRef ) arg3( Ref nocapture ) arg4( Ref nocapture ) %i2088 = tail call i32 @f9 [air SimdgroupSize(SimdgroupSize { ty: I32 })]() %i2089 = shl i32 %i2088, i32 2 call void @f10(i32 2, i32 128, i32 128, i32 32, i8 0, i8 0, i8 0, i32 0, %i67, i32 268435488, i32 268435488, i32 268435488, %i2089) convergent "no-builtins"="" @@ -2379,7 +2379,7 @@ bb193: store i32 1, %i2114, align 4 %i2116 = getelementptr inbounds %t30, %i63, i64 0, i32 0, i64 1 store %i2104, %i2116, align 4 - call void @f7 [air Tensor(InitStrided { data: Device })](%i2106, i16 2, %i2107, %i2108, %i2113, i8 0) arg0( Mod nocapture ) arg2( NoModRef ) arg3( Ref nocapture ) arg4( Ref nocapture ) + call void @f7 [air Tensor(InitStrided { data: Device, trailing: false })](%i2106, i16 2, %i2107, %i2108, %i2113, i8 0) arg0( Mod nocapture ) arg2( NoModRef ) arg3( Ref nocapture ) arg4( Ref nocapture ) %i2119 = bitcast %i61 to ptr addrspace(0) call void @f68 [llvm Memcpy { dst: Thread, src: Thread, len: I64, volatile: false }](%i2119, ptr addrspace(0) @g16, i64 20, i1 0) arg0( align 4 dereferenceable(20) ) arg1( align 4 dereferenceable(20) ) %i2121 = call ptr addrspace(0) @f14(i32 2, i32 128, i32 128, i32 32, i8 0, i8 0, i8 0, i32 0, %i67, i16 65535, i32 268435488, i32 268435488, i32 268435488) convergent "no-builtins"="" @@ -2468,7 +2468,7 @@ bb202: store i32 1, %i2194, align 4 %i2196 = getelementptr inbounds %t30, %i54, i64 0, i32 0, i64 1 store %i2168, %i2196, align 4 - call void @f7 [air Tensor(InitStrided { data: Device })](%i2186, i16 2, %i2187, %i2188, %i2193, i8 0) arg0( Mod nocapture ) arg2( NoModRef ) arg3( Ref nocapture ) arg4( Ref nocapture ) + call void @f7 [air Tensor(InitStrided { data: Device, trailing: false })](%i2186, i16 2, %i2187, %i2188, %i2193, i8 0) arg0( Mod nocapture ) arg2( NoModRef ) arg3( Ref nocapture ) arg4( Ref nocapture ) %i2199 = tail call i32 @f9 [air SimdgroupSize(SimdgroupSize { ty: I32 })]() %i2200 = shl i32 %i2199, i32 2 call void @f10(i32 2, i32 8, i32 128, i32 32, i8 0, i8 0, i8 0, i32 0, %i56, i32 268435488, i32 268435488, i32 268435488, %i2200) convergent "no-builtins"="" @@ -2501,7 +2501,7 @@ bb204: store i32 1, %i2225, align 4 %i2227 = getelementptr inbounds %t30, %i52, i64 0, i32 0, i64 1 store %i2215, %i2227, align 4 - call void @f7 [air Tensor(InitStrided { data: Device })](%i2217, i16 2, %i2218, %i2219, %i2224, i8 0) arg0( Mod nocapture ) arg2( NoModRef ) arg3( Ref nocapture ) arg4( Ref nocapture ) + call void @f7 [air Tensor(InitStrided { data: Device, trailing: false })](%i2217, i16 2, %i2218, %i2219, %i2224, i8 0) arg0( Mod nocapture ) arg2( NoModRef ) arg3( Ref nocapture ) arg4( Ref nocapture ) %i2230 = bitcast %i50 to ptr addrspace(0) call void @f68 [llvm Memcpy { dst: Thread, src: Thread, len: I64, volatile: false }](%i2230, ptr addrspace(0) @g17, i64 20, i1 0) arg0( align 4 dereferenceable(20) ) arg1( align 4 dereferenceable(20) ) %i2232 = call ptr addrspace(0) @f14(i32 2, i32 8, i32 128, i32 32, i8 0, i8 0, i8 0, i32 0, %i56, i16 65535, i32 268435488, i32 268435488, i32 268435488) convergent "no-builtins"="" @@ -2590,7 +2590,7 @@ bb213: store i32 1, %i2305, align 4 %i2307 = getelementptr inbounds %t30, %i43, i64 0, i32 0, i64 1 store %i2279, %i2307, align 4 - call void @f7 [air Tensor(InitStrided { data: Device })](%i2297, i16 2, %i2298, %i2299, %i2304, i8 1) arg0( Mod nocapture ) arg2( NoModRef ) arg3( Ref nocapture ) arg4( Ref nocapture ) + call void @f7 [air Tensor(InitStrided { data: Device, trailing: false })](%i2297, i16 2, %i2298, %i2299, %i2304, i8 1) arg0( Mod nocapture ) arg2( NoModRef ) arg3( Ref nocapture ) arg4( Ref nocapture ) %i2310 = tail call i32 @f9 [air SimdgroupSize(SimdgroupSize { ty: I32 })]() call void @f10(i32 2, i32 16, i32 16, i32 32, i8 0, i8 0, i8 0, i32 0, %i45, i32 268435472, i32 268435472, i32 268435488, %i2310) convergent "no-builtins"="" %i2312 = bitcast %i38 to ptr addrspace(0) @@ -2622,7 +2622,7 @@ bb215: store i32 1, %i2335, align 4 %i2337 = getelementptr inbounds %t30, %i41, i64 0, i32 0, i64 1 store %i2325, %i2337, align 4 - call void @f7 [air Tensor(InitStrided { data: Device })](%i2327, i16 2, %i2328, %i2329, %i2334, i8 1) arg0( Mod nocapture ) arg2( NoModRef ) arg3( Ref nocapture ) arg4( Ref nocapture ) + call void @f7 [air Tensor(InitStrided { data: Device, trailing: false })](%i2327, i16 2, %i2328, %i2329, %i2334, i8 1) arg0( Mod nocapture ) arg2( NoModRef ) arg3( Ref nocapture ) arg4( Ref nocapture ) %i2340 = bitcast %i39 to ptr addrspace(0) call void @f68 [llvm Memcpy { dst: Thread, src: Thread, len: I64, volatile: false }](%i2340, ptr addrspace(0) @g11, i64 20, i1 0) arg0( align 4 dereferenceable(20) ) arg1( align 4 dereferenceable(20) ) %i2342 = call ptr addrspace(0) @f14(i32 2, i32 16, i32 16, i32 32, i8 0, i8 0, i8 0, i32 0, %i45, i16 65535, i32 268435472, i32 268435472, i32 268435488) convergent "no-builtins"="" @@ -2711,7 +2711,7 @@ bb224: store i32 1, %i2415, align 4 %i2417 = getelementptr inbounds %t30, %i31, i64 0, i32 0, i64 1 store %i2389, %i2417, align 4 - call void @f7 [air Tensor(InitStrided { data: Device })](%i2407, i16 2, %i2408, %i2409, %i2414, i8 2) arg0( Mod nocapture ) arg2( NoModRef ) arg3( Ref nocapture ) arg4( Ref nocapture ) + call void @f7 [air Tensor(InitStrided { data: Device, trailing: false })](%i2407, i16 2, %i2408, %i2409, %i2414, i8 2) arg0( Mod nocapture ) arg2( NoModRef ) arg3( Ref nocapture ) arg4( Ref nocapture ) %i2420 = tail call i32 @f9 [air SimdgroupSize(SimdgroupSize { ty: I32 })]() call void @f10(i32 2, i32 16, i32 16, i32 32, i8 0, i8 0, i8 0, i32 0, %i33, i32 2415919120, i32 2415919120, i32 268435488, %i2420) convergent "no-builtins"="" %i2422 = bitcast %i26 to ptr addrspace(0) @@ -2743,7 +2743,7 @@ bb226: store i32 1, %i2445, align 4 %i2447 = getelementptr inbounds %t30, %i29, i64 0, i32 0, i64 1 store %i2435, %i2447, align 4 - call void @f7 [air Tensor(InitStrided { data: Device })](%i2437, i16 2, %i2438, %i2439, %i2444, i8 2) arg0( Mod nocapture ) arg2( NoModRef ) arg3( Ref nocapture ) arg4( Ref nocapture ) + call void @f7 [air Tensor(InitStrided { data: Device, trailing: false })](%i2437, i16 2, %i2438, %i2439, %i2444, i8 2) arg0( Mod nocapture ) arg2( NoModRef ) arg3( Ref nocapture ) arg4( Ref nocapture ) %i2450 = bitcast %i27 to ptr addrspace(0) call void @f68 [llvm Memcpy { dst: Thread, src: Thread, len: I64, volatile: false }](%i2450, ptr addrspace(0) @g11, i64 20, i1 0) arg0( align 4 dereferenceable(20) ) arg1( align 4 dereferenceable(20) ) %i2452 = call ptr addrspace(0) @f14(i32 2, i32 16, i32 16, i32 32, i8 0, i8 0, i8 0, i32 0, %i33, i16 65535, i32 2415919120, i32 2415919120, i32 268435488) convergent "no-builtins"="" @@ -2832,7 +2832,7 @@ bb235: store i32 1, %i2525, align 4 %i2527 = getelementptr inbounds %t30, %i19, i64 0, i32 0, i64 1 store %i2499, %i2527, align 4 - call void @f7 [air Tensor(InitStrided { data: Device })](%i2517, i16 2, %i2518, %i2519, %i2524, i8 0) arg0( Mod nocapture ) arg2( NoModRef ) arg3( Ref nocapture ) arg4( Ref nocapture ) + call void @f7 [air Tensor(InitStrided { data: Device, trailing: false })](%i2517, i16 2, %i2518, %i2519, %i2524, i8 0) arg0( Mod nocapture ) arg2( NoModRef ) arg3( Ref nocapture ) arg4( Ref nocapture ) %i2530 = tail call i32 @f9 [air SimdgroupSize(SimdgroupSize { ty: I32 })]() %i2531 = shl i32 %i2530, i32 2 call void @f10(i32 2, i32 128, i32 128, i32 32, i8 0, i8 0, i8 0, i32 1, %i21, i32 268435488, i32 268435488, i32 268435488, %i2531) convergent "no-builtins"="" @@ -2865,7 +2865,7 @@ bb237: store i32 1, %i2556, align 4 %i2558 = getelementptr inbounds %t30, %i17, i64 0, i32 0, i64 1 store %i2546, %i2558, align 4 - call void @f7 [air Tensor(InitStrided { data: Device })](%i2548, i16 2, %i2549, %i2550, %i2555, i8 0) arg0( Mod nocapture ) arg2( NoModRef ) arg3( Ref nocapture ) arg4( Ref nocapture ) + call void @f7 [air Tensor(InitStrided { data: Device, trailing: false })](%i2548, i16 2, %i2549, %i2550, %i2555, i8 0) arg0( Mod nocapture ) arg2( NoModRef ) arg3( Ref nocapture ) arg4( Ref nocapture ) %i2561 = bitcast %i15 to ptr addrspace(0) call void @f68 [llvm Memcpy { dst: Thread, src: Thread, len: I64, volatile: false }](%i2561, ptr addrspace(0) @g18, i64 20, i1 0) arg0( align 4 dereferenceable(20) ) arg1( align 4 dereferenceable(20) ) %i2563 = call ptr addrspace(0) @f14(i32 2, i32 128, i32 128, i32 32, i8 0, i8 0, i8 0, i32 1, %i21, i16 65535, i32 268435488, i32 268435488, i32 268435488) convergent "no-builtins"="" @@ -2954,7 +2954,7 @@ bb246: store i32 1, %i2636, align 4 %i2638 = getelementptr inbounds %t30, %i8, i64 0, i32 0, i64 1 store %i2610, %i2638, align 4 - call void @f7 [air Tensor(InitStrided { data: Device })](%i2628, i16 2, %i2629, %i2630, %i2635, i8 0) arg0( Mod nocapture ) arg2( NoModRef ) arg3( Ref nocapture ) arg4( Ref nocapture ) + call void @f7 [air Tensor(InitStrided { data: Device, trailing: false })](%i2628, i16 2, %i2629, %i2630, %i2635, i8 0) arg0( Mod nocapture ) arg2( NoModRef ) arg3( Ref nocapture ) arg4( Ref nocapture ) %i2641 = tail call i32 @f9 [air SimdgroupSize(SimdgroupSize { ty: I32 })]() %i2642 = shl i32 %i2641, i32 2 call void @f10(i32 2, i32 8, i32 128, i32 32, i8 0, i8 0, i8 0, i32 1, %i10, i32 268435488, i32 268435488, i32 268435488, %i2642) convergent "no-builtins"="" @@ -2987,7 +2987,7 @@ bb248: store i32 1, %i2667, align 4 %i2669 = getelementptr inbounds %t30, %i6, i64 0, i32 0, i64 1 store %i2657, %i2669, align 4 - call void @f7 [air Tensor(InitStrided { data: Device })](%i2659, i16 2, %i2660, %i2661, %i2666, i8 0) arg0( Mod nocapture ) arg2( NoModRef ) arg3( Ref nocapture ) arg4( Ref nocapture ) + call void @f7 [air Tensor(InitStrided { data: Device, trailing: false })](%i2659, i16 2, %i2660, %i2661, %i2666, i8 0) arg0( Mod nocapture ) arg2( NoModRef ) arg3( Ref nocapture ) arg4( Ref nocapture ) %i2672 = bitcast %i4 to ptr addrspace(0) call void @f68 [llvm Memcpy { dst: Thread, src: Thread, len: I64, volatile: false }](%i2672, ptr addrspace(0) @g19, i64 20, i1 0) arg0( align 4 dereferenceable(20) ) arg1( align 4 dereferenceable(20) ) %i2674 = call ptr addrspace(0) @f14(i32 2, i32 8, i32 128, i32 32, i8 0, i8 0, i8 0, i32 1, %i10, i16 65535, i32 268435488, i32 268435488, i32 268435488) convergent "no-builtins"="" diff --git a/crates/metal2vulkan/tests/air_input/tns_mm_float.txt b/crates/metal2vulkan/tests/air_input/tns_mm_float.txt index 420fa1f41..e60b082b0 100644 --- a/crates/metal2vulkan/tests/air_input/tns_mm_float.txt +++ b/crates/metal2vulkan/tests/air_input/tns_mm_float.txt @@ -181,7 +181,7 @@ bb1: store i32 1, %i137, align 4 %i139 = getelementptr inbounds %t35, %i106, i64 0, i32 0, i64 1 store i32 32, %i139, align 4 - call void @f7 [air Tensor(InitStrided { data: Device })](%i129, i16 2, %i130, %i131, %i136, i8 0) arg0( Mod nocapture ) arg2( NoModRef ) arg3( Ref nocapture ) arg4( Ref nocapture ) + call void @f7 [air Tensor(InitStrided { data: Device, trailing: false })](%i129, i16 2, %i130, %i131, %i136, i8 0) arg0( Mod nocapture ) arg2( NoModRef ) arg3( Ref nocapture ) arg4( Ref nocapture ) %i142 = tail call i32 @f9 [air SimdgroupSize(SimdgroupSize { ty: I32 })]() call void @f10(i32 2, i32 16, i32 16, i32 32, i8 0, i8 0, i8 0, i32 1, %i108, i32 268435488, i32 268435488, i32 268435488, %i142) convergent "no-builtins"="" %i144 = bitcast %i101 to ptr addrspace(0) @@ -209,7 +209,7 @@ bb3: store i32 1, %i163, align 4 %i165 = getelementptr inbounds %t35, %i104, i64 0, i32 0, i64 1 store i32 16, %i165, align 4 - call void @f7 [air Tensor(InitStrided { data: Device })](%i155, i16 2, %i156, %i157, %i162, i8 0) arg0( Mod nocapture ) arg2( NoModRef ) arg3( Ref nocapture ) arg4( Ref nocapture ) + call void @f7 [air Tensor(InitStrided { data: Device, trailing: false })](%i155, i16 2, %i156, %i157, %i162, i8 0) arg0( Mod nocapture ) arg2( NoModRef ) arg3( Ref nocapture ) arg4( Ref nocapture ) %i168 = bitcast %i102 to ptr addrspace(0) call void @f44 [llvm Memcpy { dst: Thread, src: Thread, len: I64, volatile: false }](%i168, ptr addrspace(0) @g3, i64 20, i1 0) arg0( align 4 dereferenceable(20) ) arg1( align 4 dereferenceable(20) ) %i170 = call ptr addrspace(0) @f14(i32 2, i32 16, i32 16, i32 32, i8 0, i8 0, i8 0, i32 1, %i108, i16 65535, i32 268435488, i32 268435488, i32 268435488) convergent "no-builtins"="" @@ -287,7 +287,7 @@ bb12: store i32 1, %i232, align 4 %i234 = getelementptr inbounds %t35, %i96, i64 0, i32 0, i64 1 store i32 32, %i234, align 4 - call void @f7 [air Tensor(InitStrided { data: Device })](%i224, i16 2, %i225, %i226, %i231, i8 1) arg0( Mod nocapture ) arg2( NoModRef ) arg3( Ref nocapture ) arg4( Ref nocapture ) + call void @f7 [air Tensor(InitStrided { data: Device, trailing: false })](%i224, i16 2, %i225, %i226, %i231, i8 1) arg0( Mod nocapture ) arg2( NoModRef ) arg3( Ref nocapture ) arg4( Ref nocapture ) %i237 = tail call i32 @f9 [air SimdgroupSize(SimdgroupSize { ty: I32 })]() call void @f10(i32 2, i32 16, i32 16, i32 32, i8 0, i8 0, i8 0, i32 1, %i98, i32 268435472, i32 268435472, i32 268435488, %i237) convergent "no-builtins"="" %i239 = bitcast %i91 to ptr addrspace(0) @@ -315,7 +315,7 @@ bb14: store i32 1, %i258, align 4 %i260 = getelementptr inbounds %t35, %i94, i64 0, i32 0, i64 1 store i32 16, %i260, align 4 - call void @f7 [air Tensor(InitStrided { data: Device })](%i250, i16 2, %i251, %i252, %i257, i8 1) arg0( Mod nocapture ) arg2( NoModRef ) arg3( Ref nocapture ) arg4( Ref nocapture ) + call void @f7 [air Tensor(InitStrided { data: Device, trailing: false })](%i250, i16 2, %i251, %i252, %i257, i8 1) arg0( Mod nocapture ) arg2( NoModRef ) arg3( Ref nocapture ) arg4( Ref nocapture ) %i263 = bitcast %i92 to ptr addrspace(0) call void @f44 [llvm Memcpy { dst: Thread, src: Thread, len: I64, volatile: false }](%i263, ptr addrspace(0) @g3, i64 20, i1 0) arg0( align 4 dereferenceable(20) ) arg1( align 4 dereferenceable(20) ) %i265 = call ptr addrspace(0) @f14(i32 2, i32 16, i32 16, i32 32, i8 0, i8 0, i8 0, i32 1, %i98, i16 65535, i32 268435472, i32 268435472, i32 268435488) convergent "no-builtins"="" @@ -393,7 +393,7 @@ bb23: store i32 1, %i327, align 4 %i329 = getelementptr inbounds %t35, %i86, i64 0, i32 0, i64 1 store i32 32, %i329, align 4 - call void @f7 [air Tensor(InitStrided { data: Device })](%i319, i16 2, %i320, %i321, %i326, i8 2) arg0( Mod nocapture ) arg2( NoModRef ) arg3( Ref nocapture ) arg4( Ref nocapture ) + call void @f7 [air Tensor(InitStrided { data: Device, trailing: false })](%i319, i16 2, %i320, %i321, %i326, i8 2) arg0( Mod nocapture ) arg2( NoModRef ) arg3( Ref nocapture ) arg4( Ref nocapture ) %i332 = tail call i32 @f9 [air SimdgroupSize(SimdgroupSize { ty: I32 })]() call void @f10(i32 2, i32 16, i32 16, i32 32, i8 0, i8 0, i8 0, i32 1, %i88, i32 2415919120, i32 2415919120, i32 268435488, %i332) convergent "no-builtins"="" %i334 = bitcast %i81 to ptr addrspace(0) @@ -421,7 +421,7 @@ bb25: store i32 1, %i353, align 4 %i355 = getelementptr inbounds %t35, %i84, i64 0, i32 0, i64 1 store i32 16, %i355, align 4 - call void @f7 [air Tensor(InitStrided { data: Device })](%i345, i16 2, %i346, %i347, %i352, i8 2) arg0( Mod nocapture ) arg2( NoModRef ) arg3( Ref nocapture ) arg4( Ref nocapture ) + call void @f7 [air Tensor(InitStrided { data: Device, trailing: false })](%i345, i16 2, %i346, %i347, %i352, i8 2) arg0( Mod nocapture ) arg2( NoModRef ) arg3( Ref nocapture ) arg4( Ref nocapture ) %i358 = bitcast %i82 to ptr addrspace(0) call void @f44 [llvm Memcpy { dst: Thread, src: Thread, len: I64, volatile: false }](%i358, ptr addrspace(0) @g3, i64 20, i1 0) arg0( align 4 dereferenceable(20) ) arg1( align 4 dereferenceable(20) ) %i360 = call ptr addrspace(0) @f14(i32 2, i32 16, i32 16, i32 32, i8 0, i8 0, i8 0, i32 1, %i88, i16 65535, i32 2415919120, i32 2415919120, i32 268435488) convergent "no-builtins"="" @@ -499,7 +499,7 @@ bb34: store i32 1, %i422, align 4 %i424 = getelementptr inbounds %t35, %i76, i64 0, i32 0, i64 1 store i32 32, %i424, align 4 - call void @f7 [air Tensor(InitStrided { data: Device })](%i414, i16 2, %i415, %i416, %i421, i8 0) arg0( Mod nocapture ) arg2( NoModRef ) arg3( Ref nocapture ) arg4( Ref nocapture ) + call void @f7 [air Tensor(InitStrided { data: Device, trailing: false })](%i414, i16 2, %i415, %i416, %i421, i8 0) arg0( Mod nocapture ) arg2( NoModRef ) arg3( Ref nocapture ) arg4( Ref nocapture ) %i427 = tail call i32 @f9 [air SimdgroupSize(SimdgroupSize { ty: I32 })]() call void @f10(i32 2, i32 16, i32 16, i32 32, i8 0, i8 1, i8 0, i32 1, %i78, i32 268435488, i32 268435488, i32 268435488, %i427) convergent "no-builtins"="" %i429 = bitcast %i71 to ptr addrspace(0) @@ -527,7 +527,7 @@ bb36: store i32 1, %i448, align 4 %i450 = getelementptr inbounds %t35, %i74, i64 0, i32 0, i64 1 store i32 32, %i450, align 4 - call void @f7 [air Tensor(InitStrided { data: Device })](%i440, i16 2, %i441, %i442, %i447, i8 0) arg0( Mod nocapture ) arg2( NoModRef ) arg3( Ref nocapture ) arg4( Ref nocapture ) + call void @f7 [air Tensor(InitStrided { data: Device, trailing: false })](%i440, i16 2, %i441, %i442, %i447, i8 0) arg0( Mod nocapture ) arg2( NoModRef ) arg3( Ref nocapture ) arg4( Ref nocapture ) %i453 = bitcast %i72 to ptr addrspace(0) call void @f44 [llvm Memcpy { dst: Thread, src: Thread, len: I64, volatile: false }](%i453, ptr addrspace(0) @g4, i64 20, i1 0) arg0( align 4 dereferenceable(20) ) arg1( align 4 dereferenceable(20) ) %i455 = call ptr addrspace(0) @f14(i32 2, i32 16, i32 16, i32 32, i8 0, i8 1, i8 0, i32 1, %i78, i16 65535, i32 268435488, i32 268435488, i32 268435488) convergent "no-builtins"="" @@ -605,7 +605,7 @@ bb45: store i32 1, %i517, align 4 %i519 = getelementptr inbounds %t35, %i65, i64 0, i32 0, i64 1 store i32 32, %i519, align 4 - call void @f7 [air Tensor(InitStrided { data: Device })](%i509, i16 2, %i510, %i511, %i516, i8 1) arg0( Mod nocapture ) arg2( NoModRef ) arg3( Ref nocapture ) arg4( Ref nocapture ) + call void @f7 [air Tensor(InitStrided { data: Device, trailing: false })](%i509, i16 2, %i510, %i511, %i516, i8 1) arg0( Mod nocapture ) arg2( NoModRef ) arg3( Ref nocapture ) arg4( Ref nocapture ) %i522 = tail call i32 @f9 [air SimdgroupSize(SimdgroupSize { ty: I32 })]() call void @f10(i32 2, i32 16, i32 16, i32 32, i8 0, i8 1, i8 0, i32 1, %i67, i32 268435472, i32 268435472, i32 268435488, %i522) convergent "no-builtins"="" %i524 = bitcast %i60 to ptr addrspace(0) @@ -633,7 +633,7 @@ bb47: store i32 1, %i543, align 4 %i545 = getelementptr inbounds %t35, %i63, i64 0, i32 0, i64 1 store i32 32, %i545, align 4 - call void @f7 [air Tensor(InitStrided { data: Device })](%i535, i16 2, %i536, %i537, %i542, i8 1) arg0( Mod nocapture ) arg2( NoModRef ) arg3( Ref nocapture ) arg4( Ref nocapture ) + call void @f7 [air Tensor(InitStrided { data: Device, trailing: false })](%i535, i16 2, %i536, %i537, %i542, i8 1) arg0( Mod nocapture ) arg2( NoModRef ) arg3( Ref nocapture ) arg4( Ref nocapture ) %i548 = bitcast %i61 to ptr addrspace(0) call void @f44 [llvm Memcpy { dst: Thread, src: Thread, len: I64, volatile: false }](%i548, ptr addrspace(0) @g4, i64 20, i1 0) arg0( align 4 dereferenceable(20) ) arg1( align 4 dereferenceable(20) ) %i550 = call ptr addrspace(0) @f14(i32 2, i32 16, i32 16, i32 32, i8 0, i8 1, i8 0, i32 1, %i67, i16 65535, i32 268435472, i32 268435472, i32 268435488) convergent "no-builtins"="" @@ -711,7 +711,7 @@ bb56: store i32 1, %i612, align 4 %i614 = getelementptr inbounds %t35, %i54, i64 0, i32 0, i64 1 store i32 32, %i614, align 4 - call void @f7 [air Tensor(InitStrided { data: Device })](%i604, i16 2, %i605, %i606, %i611, i8 2) arg0( Mod nocapture ) arg2( NoModRef ) arg3( Ref nocapture ) arg4( Ref nocapture ) + call void @f7 [air Tensor(InitStrided { data: Device, trailing: false })](%i604, i16 2, %i605, %i606, %i611, i8 2) arg0( Mod nocapture ) arg2( NoModRef ) arg3( Ref nocapture ) arg4( Ref nocapture ) %i617 = tail call i32 @f9 [air SimdgroupSize(SimdgroupSize { ty: I32 })]() call void @f10(i32 2, i32 16, i32 16, i32 32, i8 0, i8 1, i8 0, i32 1, %i56, i32 2415919120, i32 2415919120, i32 268435488, %i617) convergent "no-builtins"="" %i619 = bitcast %i49 to ptr addrspace(0) @@ -739,7 +739,7 @@ bb58: store i32 1, %i638, align 4 %i640 = getelementptr inbounds %t35, %i52, i64 0, i32 0, i64 1 store i32 32, %i640, align 4 - call void @f7 [air Tensor(InitStrided { data: Device })](%i630, i16 2, %i631, %i632, %i637, i8 2) arg0( Mod nocapture ) arg2( NoModRef ) arg3( Ref nocapture ) arg4( Ref nocapture ) + call void @f7 [air Tensor(InitStrided { data: Device, trailing: false })](%i630, i16 2, %i631, %i632, %i637, i8 2) arg0( Mod nocapture ) arg2( NoModRef ) arg3( Ref nocapture ) arg4( Ref nocapture ) %i643 = bitcast %i50 to ptr addrspace(0) call void @f44 [llvm Memcpy { dst: Thread, src: Thread, len: I64, volatile: false }](%i643, ptr addrspace(0) @g4, i64 20, i1 0) arg0( align 4 dereferenceable(20) ) arg1( align 4 dereferenceable(20) ) %i645 = call ptr addrspace(0) @f14(i32 2, i32 16, i32 16, i32 32, i8 0, i8 1, i8 0, i32 1, %i56, i16 65535, i32 2415919120, i32 2415919120, i32 268435488) convergent "no-builtins"="" @@ -817,7 +817,7 @@ bb67: store i32 1, %i707, align 4 %i709 = getelementptr inbounds %t35, %i43, i64 0, i32 0, i64 1 store i32 32, %i709, align 4 - call void @f7 [air Tensor(InitStrided { data: Device })](%i699, i16 2, %i700, %i701, %i706, i8 0) arg0( Mod nocapture ) arg2( NoModRef ) arg3( Ref nocapture ) arg4( Ref nocapture ) + call void @f7 [air Tensor(InitStrided { data: Device, trailing: false })](%i699, i16 2, %i700, %i701, %i706, i8 0) arg0( Mod nocapture ) arg2( NoModRef ) arg3( Ref nocapture ) arg4( Ref nocapture ) %i712 = tail call i32 @f9 [air SimdgroupSize(SimdgroupSize { ty: I32 })]() call void @f10(i32 2, i32 16, i32 16, i32 32, i8 0, i8 0, i8 0, i32 1, %i45, i32 268435488, i32 268435488, i32 268435488, %i712) convergent "no-builtins"="" %i714 = bitcast %i41 to ptr addrspace(0) @@ -941,7 +941,7 @@ bb83: store i32 1, %i815, align 4 %i817 = getelementptr inbounds %t35, %i33, i64 0, i32 0, i64 1 store i32 32, %i817, align 4 - call void @f7 [air Tensor(InitStrided { data: Device })](%i807, i16 2, %i808, %i809, %i814, i8 1) arg0( Mod nocapture ) arg2( NoModRef ) arg3( Ref nocapture ) arg4( Ref nocapture ) + call void @f7 [air Tensor(InitStrided { data: Device, trailing: false })](%i807, i16 2, %i808, %i809, %i814, i8 1) arg0( Mod nocapture ) arg2( NoModRef ) arg3( Ref nocapture ) arg4( Ref nocapture ) %i820 = tail call i32 @f9 [air SimdgroupSize(SimdgroupSize { ty: I32 })]() call void @f10(i32 2, i32 16, i32 16, i32 32, i8 0, i8 0, i8 0, i32 1, %i35, i32 268435472, i32 268435472, i32 268435488, %i820) convergent "no-builtins"="" %i822 = bitcast %i31 to ptr addrspace(0) @@ -1065,7 +1065,7 @@ bb99: store i32 1, %i923, align 4 %i925 = getelementptr inbounds %t35, %i21, i64 0, i32 0, i64 1 store i32 32, %i925, align 4 - call void @f7 [air Tensor(InitStrided { data: Device })](%i915, i16 2, %i916, %i917, %i922, i8 2) arg0( Mod nocapture ) arg2( NoModRef ) arg3( Ref nocapture ) arg4( Ref nocapture ) + call void @f7 [air Tensor(InitStrided { data: Device, trailing: false })](%i915, i16 2, %i916, %i917, %i922, i8 2) arg0( Mod nocapture ) arg2( NoModRef ) arg3( Ref nocapture ) arg4( Ref nocapture ) %i928 = tail call i32 @f9 [air SimdgroupSize(SimdgroupSize { ty: I32 })]() call void @f10(i32 2, i32 16, i32 16, i32 32, i8 0, i8 0, i8 0, i32 1, %i23, i32 2415919120, i32 2415919120, i32 268435488, %i928) convergent "no-builtins"="" %i930 = bitcast %i19 to ptr addrspace(0) @@ -1189,7 +1189,7 @@ bb115: store i32 1, %i1031, align 4 %i1033 = getelementptr inbounds %t35, %i9, i64 0, i32 0, i64 1 store i32 32, %i1033, align 4 - call void @f7 [air Tensor(InitStrided { data: Device })](%i1023, i16 2, %i1024, %i1025, %i1030, i8 0) arg0( Mod nocapture ) arg2( NoModRef ) arg3( Ref nocapture ) arg4( Ref nocapture ) + call void @f7 [air Tensor(InitStrided { data: Device, trailing: false })](%i1023, i16 2, %i1024, %i1025, %i1030, i8 0) arg0( Mod nocapture ) arg2( NoModRef ) arg3( Ref nocapture ) arg4( Ref nocapture ) %i1036 = tail call i32 @f9 [air SimdgroupSize(SimdgroupSize { ty: I32 })]() call void @f10(i32 2, i32 16, i32 16, i32 32, i8 0, i8 0, i8 0, i32 1, %i11, i32 268435488, i32 268435488, i32 268435488, %i1036) convergent "no-builtins"="" %i1038 = bitcast %i7 to ptr addrspace(0) @@ -1239,7 +1239,7 @@ bb121: store i32 1, %i1075, align 4 %i1077 = getelementptr inbounds %t35, %i6, i64 0, i32 0, i64 1 store i32 16, %i1077, align 4 - call void @f41 [air Tensor(InitStrided { data: Threadgroup })](%i1068, i16 2, ptr addrspace(3) @g1, %i1069, %i1074, i8 0) arg0( Mod nocapture ) arg2( NoModRef ) arg3( Ref nocapture ) arg4( Ref nocapture ) + call void @f41 [air Tensor(InitStrided { data: Threadgroup, trailing: false })](%i1068, i16 2, ptr addrspace(3) @g1, %i1069, %i1074, i8 0) arg0( Mod nocapture ) arg2( NoModRef ) arg3( Ref nocapture ) arg4( Ref nocapture ) %i1080 = bitcast %i4 to ptr addrspace(0) call void @f44 [llvm Memcpy { dst: Thread, src: Thread, len: I64, volatile: false }](%i1080, ptr addrspace(0) @g3, i64 20, i1 0) arg0( align 4 dereferenceable(20) ) arg1( align 4 dereferenceable(20) ) %i1082 = call ptr addrspace(0) @f14(i32 2, i32 16, i32 16, i32 32, i8 0, i8 0, i8 0, i32 1, %i11, i16 65535, i32 268435488, i32 268435488, i32 268435488) convergent "no-builtins"="" diff --git a/crates/metal2vulkan/tests/air_input/tns_mm_int.txt b/crates/metal2vulkan/tests/air_input/tns_mm_int.txt index 53dbc6543..20d397dcb 100644 --- a/crates/metal2vulkan/tests/air_input/tns_mm_int.txt +++ b/crates/metal2vulkan/tests/air_input/tns_mm_int.txt @@ -192,7 +192,7 @@ bb1: store i32 1, %i136, align 4 %i138 = getelementptr inbounds %t34, %i115, i64 0, i32 0, i64 1 store %i122, %i138, align 4 - call void @f8 [air Tensor(InitStrided { data: Device })](%i129, i16 2, %a0, %i130, %i135, i8 3) arg0( Mod nocapture ) arg2( NoModRef ) arg3( Ref nocapture ) arg4( Ref nocapture ) + call void @f8 [air Tensor(InitStrided { data: Device, trailing: false })](%i129, i16 2, %a0, %i130, %i135, i8 3) arg0( Mod nocapture ) arg2( NoModRef ) arg3( Ref nocapture ) arg4( Ref nocapture ) %i141 = bitcast %i117 to ptr addrspace(0) %i142 = bitcast %i112 to ptr addrspace(0) %i143 = getelementptr inbounds %t34, %i112, i64 0, i32 0, i64 0 @@ -204,7 +204,7 @@ bb1: store i32 1, %i148, align 4 %i150 = getelementptr inbounds %t34, %i113, i64 0, i32 0, i64 1 store %i126, %i150, align 4 - call void @f8 [air Tensor(InitStrided { data: Device })](%i141, i16 2, %a1, %i142, %i147, i8 3) arg0( Mod nocapture ) arg2( NoModRef ) arg3( Ref nocapture ) arg4( Ref nocapture ) + call void @f8 [air Tensor(InitStrided { data: Device, trailing: false })](%i141, i16 2, %a1, %i142, %i147, i8 3) arg0( Mod nocapture ) arg2( NoModRef ) arg3( Ref nocapture ) arg4( Ref nocapture ) %i153 = tail call i32 @f11 [air SimdgroupSize(SimdgroupSize { ty: I32 })]() call void @f12(i32 2, i32 16, i32 16, i32 32, i8 0, i8 0, i8 0, i32 1, %i118, i32 536870920, i32 536870920, i32 536870944, %i153) convergent "no-builtins"="" %i155 = bitcast %i110 to ptr addrspace(0) @@ -290,7 +290,7 @@ bb12: store i32 1, %i223, align 4 %i225 = getelementptr inbounds %t34, %i105, i64 0, i32 0, i64 1 store %i209, %i225, align 4 - call void @f8 [air Tensor(InitStrided { data: Device })](%i216, i16 2, %a0, %i217, %i222, i8 3) arg0( Mod nocapture ) arg2( NoModRef ) arg3( Ref nocapture ) arg4( Ref nocapture ) + call void @f8 [air Tensor(InitStrided { data: Device, trailing: false })](%i216, i16 2, %a0, %i217, %i222, i8 3) arg0( Mod nocapture ) arg2( NoModRef ) arg3( Ref nocapture ) arg4( Ref nocapture ) %i228 = bitcast %i107 to ptr addrspace(0) %i229 = bitcast %i102 to ptr addrspace(0) %i230 = getelementptr inbounds %t34, %i102, i64 0, i32 0, i64 0 @@ -302,7 +302,7 @@ bb12: store i32 1, %i235, align 4 %i237 = getelementptr inbounds %t34, %i103, i64 0, i32 0, i64 1 store %i213, %i237, align 4 - call void @f8 [air Tensor(InitStrided { data: Device })](%i228, i16 2, %a1, %i229, %i234, i8 3) arg0( Mod nocapture ) arg2( NoModRef ) arg3( Ref nocapture ) arg4( Ref nocapture ) + call void @f8 [air Tensor(InitStrided { data: Device, trailing: false })](%i228, i16 2, %a1, %i229, %i234, i8 3) arg0( Mod nocapture ) arg2( NoModRef ) arg3( Ref nocapture ) arg4( Ref nocapture ) %i240 = tail call i32 @f11 [air SimdgroupSize(SimdgroupSize { ty: I32 })]() call void @f12(i32 2, i32 16, i32 16, i32 32, i8 0, i8 1, i8 0, i32 1, %i108, i32 536870920, i32 536870920, i32 536870944, %i240) convergent "no-builtins"="" %i242 = bitcast %i100 to ptr addrspace(0) @@ -388,7 +388,7 @@ bb23: store i32 1, %i310, align 4 %i312 = getelementptr inbounds %t34, %i94, i64 0, i32 0, i64 1 store %i296, %i312, align 4 - call void @f8 [air Tensor(InitStrided { data: Device })](%i303, i16 2, %a0, %i304, %i309, i8 3) arg0( Mod nocapture ) arg2( NoModRef ) arg3( Ref nocapture ) arg4( Ref nocapture ) + call void @f8 [air Tensor(InitStrided { data: Device, trailing: false })](%i303, i16 2, %a0, %i304, %i309, i8 3) arg0( Mod nocapture ) arg2( NoModRef ) arg3( Ref nocapture ) arg4( Ref nocapture ) %i315 = bitcast %i96 to ptr addrspace(0) %i316 = bitcast %i91 to ptr addrspace(0) %i317 = getelementptr inbounds %t34, %i91, i64 0, i32 0, i64 0 @@ -400,7 +400,7 @@ bb23: store i32 1, %i322, align 4 %i324 = getelementptr inbounds %t34, %i92, i64 0, i32 0, i64 1 store %i300, %i324, align 4 - call void @f8 [air Tensor(InitStrided { data: Device })](%i315, i16 2, %a1, %i316, %i321, i8 3) arg0( Mod nocapture ) arg2( NoModRef ) arg3( Ref nocapture ) arg4( Ref nocapture ) + call void @f8 [air Tensor(InitStrided { data: Device, trailing: false })](%i315, i16 2, %a1, %i316, %i321, i8 3) arg0( Mod nocapture ) arg2( NoModRef ) arg3( Ref nocapture ) arg4( Ref nocapture ) %i327 = tail call i32 @f11 [air SimdgroupSize(SimdgroupSize { ty: I32 })]() call void @f12(i32 2, i32 16, i32 16, i32 32, i8 1, i8 0, i8 0, i32 1, %i97, i32 536870920, i32 536870920, i32 536870944, %i327) convergent "no-builtins"="" %i329 = bitcast %i89 to ptr addrspace(0) @@ -486,7 +486,7 @@ bb34: store i32 1, %i397, align 4 %i399 = getelementptr inbounds %t34, %i83, i64 0, i32 0, i64 1 store %i383, %i399, align 4 - call void @f8 [air Tensor(InitStrided { data: Device })](%i390, i16 2, %a0, %i391, %i396, i8 3) arg0( Mod nocapture ) arg2( NoModRef ) arg3( Ref nocapture ) arg4( Ref nocapture ) + call void @f8 [air Tensor(InitStrided { data: Device, trailing: false })](%i390, i16 2, %a0, %i391, %i396, i8 3) arg0( Mod nocapture ) arg2( NoModRef ) arg3( Ref nocapture ) arg4( Ref nocapture ) %i402 = bitcast %i85 to ptr addrspace(0) %i403 = bitcast %i80 to ptr addrspace(0) %i404 = getelementptr inbounds %t34, %i80, i64 0, i32 0, i64 0 @@ -498,7 +498,7 @@ bb34: store i32 1, %i409, align 4 %i411 = getelementptr inbounds %t34, %i81, i64 0, i32 0, i64 1 store %i387, %i411, align 4 - call void @f8 [air Tensor(InitStrided { data: Device })](%i402, i16 2, %a1, %i403, %i408, i8 3) arg0( Mod nocapture ) arg2( NoModRef ) arg3( Ref nocapture ) arg4( Ref nocapture ) + call void @f8 [air Tensor(InitStrided { data: Device, trailing: false })](%i402, i16 2, %a1, %i403, %i408, i8 3) arg0( Mod nocapture ) arg2( NoModRef ) arg3( Ref nocapture ) arg4( Ref nocapture ) %i414 = tail call i32 @f11 [air SimdgroupSize(SimdgroupSize { ty: I32 })]() call void @f12(i32 2, i32 16, i32 16, i32 32, i8 1, i8 1, i8 0, i32 1, %i86, i32 536870920, i32 536870920, i32 536870944, %i414) convergent "no-builtins"="" %i416 = bitcast %i78 to ptr addrspace(0) @@ -584,7 +584,7 @@ bb45: store i32 1, %i484, align 4 %i486 = getelementptr inbounds %t34, %i72, i64 0, i32 0, i64 1 store %i470, %i486, align 4 - call void @f8 [air Tensor(InitStrided { data: Device })](%i477, i16 2, %a0, %i478, %i483, i8 3) arg0( Mod nocapture ) arg2( NoModRef ) arg3( Ref nocapture ) arg4( Ref nocapture ) + call void @f8 [air Tensor(InitStrided { data: Device, trailing: false })](%i477, i16 2, %a0, %i478, %i483, i8 3) arg0( Mod nocapture ) arg2( NoModRef ) arg3( Ref nocapture ) arg4( Ref nocapture ) %i489 = bitcast %i74 to ptr addrspace(0) %i490 = bitcast %i69 to ptr addrspace(0) %i491 = getelementptr inbounds %t34, %i69, i64 0, i32 0, i64 0 @@ -596,7 +596,7 @@ bb45: store i32 1, %i496, align 4 %i498 = getelementptr inbounds %t34, %i70, i64 0, i32 0, i64 1 store %i474, %i498, align 4 - call void @f8 [air Tensor(InitStrided { data: Device })](%i489, i16 2, %a1, %i490, %i495, i8 3) arg0( Mod nocapture ) arg2( NoModRef ) arg3( Ref nocapture ) arg4( Ref nocapture ) + call void @f8 [air Tensor(InitStrided { data: Device, trailing: false })](%i489, i16 2, %a1, %i490, %i495, i8 3) arg0( Mod nocapture ) arg2( NoModRef ) arg3( Ref nocapture ) arg4( Ref nocapture ) %i501 = tail call i32 @f11 [air SimdgroupSize(SimdgroupSize { ty: I32 })]() call void @f12(i32 2, i32 16, i32 16, i32 32, i8 0, i8 0, i8 0, i32 0, %i75, i32 536870920, i32 536870920, i32 536870944, %i501) convergent "no-builtins"="" %i503 = bitcast %i67 to ptr addrspace(0) @@ -689,7 +689,7 @@ bb58: store i32 1, %i576, align 4 %i578 = getelementptr inbounds %t34, %i61, i64 0, i32 0, i64 1 store %i557, %i578, align 4 - call void @f8 [air Tensor(InitStrided { data: Device })](%i569, i16 2, %a0, %i570, %i575, i8 3) arg0( Mod nocapture ) arg2( NoModRef ) arg3( Ref nocapture ) arg4( Ref nocapture ) + call void @f8 [air Tensor(InitStrided { data: Device, trailing: false })](%i569, i16 2, %a0, %i570, %i575, i8 3) arg0( Mod nocapture ) arg2( NoModRef ) arg3( Ref nocapture ) arg4( Ref nocapture ) %i581 = bitcast %i63 to ptr addrspace(0) %i582 = bitcast %i58 to ptr addrspace(0) %i583 = getelementptr inbounds %t34, %i58, i64 0, i32 0, i64 0 @@ -701,7 +701,7 @@ bb58: store i32 1, %i588, align 4 %i590 = getelementptr inbounds %t34, %i59, i64 0, i32 0, i64 1 store %i561, %i590, align 4 - call void @f9 [air Tensor(InitStrided { data: Threadgroup })](%i581, i16 2, ptr addrspace(3) @g2, %i582, %i587, i8 3) arg0( Mod nocapture ) arg2( NoModRef ) arg3( Ref nocapture ) arg4( Ref nocapture ) + call void @f9 [air Tensor(InitStrided { data: Threadgroup, trailing: false })](%i581, i16 2, ptr addrspace(3) @g2, %i582, %i587, i8 3) arg0( Mod nocapture ) arg2( NoModRef ) arg3( Ref nocapture ) arg4( Ref nocapture ) %i593 = tail call i32 @f11 [air SimdgroupSize(SimdgroupSize { ty: I32 })]() call void @f12(i32 2, i32 16, i32 16, i32 32, i8 0, i8 0, i8 0, i32 1, %i64, i32 536870920, i32 536870920, i32 536870944, %i593) convergent "no-builtins"="" %i595 = bitcast %i56 to ptr addrspace(0) @@ -810,7 +810,7 @@ bb74: store i32 1, %i681, align 4 %i683 = getelementptr inbounds %t34, %i51, i64 0, i32 0, i64 1 store %i661, %i683, align 4 - call void @f9 [air Tensor(InitStrided { data: Threadgroup })](%i674, i16 2, ptr addrspace(3) @g1, %i675, %i680, i8 3) arg0( Mod nocapture ) arg2( NoModRef ) arg3( Ref nocapture ) arg4( Ref nocapture ) + call void @f9 [air Tensor(InitStrided { data: Threadgroup, trailing: false })](%i674, i16 2, ptr addrspace(3) @g1, %i675, %i680, i8 3) arg0( Mod nocapture ) arg2( NoModRef ) arg3( Ref nocapture ) arg4( Ref nocapture ) %i686 = bitcast %i53 to ptr addrspace(0) %i687 = bitcast %i48 to ptr addrspace(0) %i688 = getelementptr inbounds %t34, %i48, i64 0, i32 0, i64 0 @@ -822,7 +822,7 @@ bb74: store i32 1, %i693, align 4 %i695 = getelementptr inbounds %t34, %i49, i64 0, i32 0, i64 1 store %i665, %i695, align 4 - call void @f9 [air Tensor(InitStrided { data: Threadgroup })](%i686, i16 2, ptr addrspace(3) @g2, %i687, %i692, i8 3) arg0( Mod nocapture ) arg2( NoModRef ) arg3( Ref nocapture ) arg4( Ref nocapture ) + call void @f9 [air Tensor(InitStrided { data: Threadgroup, trailing: false })](%i686, i16 2, ptr addrspace(3) @g2, %i687, %i692, i8 3) arg0( Mod nocapture ) arg2( NoModRef ) arg3( Ref nocapture ) arg4( Ref nocapture ) %i698 = tail call i32 @f11 [air SimdgroupSize(SimdgroupSize { ty: I32 })]() call void @f12(i32 2, i32 16, i32 16, i32 32, i8 0, i8 0, i8 0, i32 1, %i54, i32 536870920, i32 536870920, i32 536870944, %i698) convergent "no-builtins"="" %i700 = bitcast %i46 to ptr addrspace(0) @@ -940,7 +940,7 @@ bb92: store i32 1, %i793, align 4 %i795 = getelementptr inbounds %t34, %i41, i64 0, i32 0, i64 1 store %i778, %i795, align 4 - call void @f8 [air Tensor(InitStrided { data: Device })](%i786, i16 2, %a1, %i787, %i792, i8 3) arg0( Mod nocapture ) arg2( NoModRef ) arg3( Ref nocapture ) arg4( Ref nocapture ) + call void @f8 [air Tensor(InitStrided { data: Device, trailing: false })](%i786, i16 2, %a1, %i787, %i792, i8 3) arg0( Mod nocapture ) arg2( NoModRef ) arg3( Ref nocapture ) arg4( Ref nocapture ) %i798 = bitcast %i43 to ptr addrspace(0) %i799 = bitcast %i38 to ptr addrspace(0) %i800 = getelementptr inbounds %t34, %i38, i64 0, i32 0, i64 0 @@ -952,7 +952,7 @@ bb92: store i32 1, %i805, align 4 %i807 = getelementptr inbounds %t34, %i39, i64 0, i32 0, i64 1 store %i774, %i807, align 4 - call void @f9 [air Tensor(InitStrided { data: Threadgroup })](%i798, i16 2, ptr addrspace(3) @g1, %i799, %i804, i8 3) arg0( Mod nocapture ) arg2( NoModRef ) arg3( Ref nocapture ) arg4( Ref nocapture ) + call void @f9 [air Tensor(InitStrided { data: Threadgroup, trailing: false })](%i798, i16 2, ptr addrspace(3) @g1, %i799, %i804, i8 3) arg0( Mod nocapture ) arg2( NoModRef ) arg3( Ref nocapture ) arg4( Ref nocapture ) %i810 = tail call i32 @f11 [air SimdgroupSize(SimdgroupSize { ty: I32 })]() call void @f12(i32 2, i32 16, i32 16, i32 32, i8 0, i8 0, i8 0, i32 1, %i44, i32 536870920, i32 536870920, i32 536870944, %i810) convergent "no-builtins"="" %i812 = bitcast %i36 to ptr addrspace(0) @@ -1049,7 +1049,7 @@ bb106: store i32 1, %i888, align 4 %i890 = getelementptr inbounds %t34, %i30, i64 0, i32 0, i64 1 store %i878, %i890, align 4 - call void @f8 [air Tensor(InitStrided { data: Device })](%i881, i16 2, %a0, %i882, %i887, i8 3) arg0( Mod nocapture ) arg2( NoModRef ) arg3( Ref nocapture ) arg4( Ref nocapture ) + call void @f8 [air Tensor(InitStrided { data: Device, trailing: false })](%i881, i16 2, %a0, %i882, %i887, i8 3) arg0( Mod nocapture ) arg2( NoModRef ) arg3( Ref nocapture ) arg4( Ref nocapture ) %i893 = tail call i32 @f11 [air SimdgroupSize(SimdgroupSize { ty: I32 })]() call void @f12(i32 2, i32 16, i32 16, i32 32, i8 0, i8 0, i8 0, i32 1, %i32, i32 536870920, i32 536870920, i32 536870944, %i893) convergent "no-builtins"="" %i895 = bitcast %i28 to ptr addrspace(0) @@ -1177,7 +1177,7 @@ bb124: store i32 1, %i998, align 4 %i1000 = getelementptr inbounds %t34, %i19, i64 0, i32 0, i64 1 store %i984, %i1000, align 4 - call void @f8 [air Tensor(InitStrided { data: Device })](%i991, i16 2, %a0, %i992, %i997, i8 3) arg0( Mod nocapture ) arg2( NoModRef ) arg3( Ref nocapture ) arg4( Ref nocapture ) + call void @f8 [air Tensor(InitStrided { data: Device, trailing: false })](%i991, i16 2, %a0, %i992, %i997, i8 3) arg0( Mod nocapture ) arg2( NoModRef ) arg3( Ref nocapture ) arg4( Ref nocapture ) %i1003 = bitcast %i21 to ptr addrspace(0) %i1004 = bitcast %i16 to ptr addrspace(0) %i1005 = getelementptr inbounds %t34, %i16, i64 0, i32 0, i64 0 @@ -1189,7 +1189,7 @@ bb124: store i32 1, %i1010, align 4 %i1012 = getelementptr inbounds %t34, %i17, i64 0, i32 0, i64 1 store %i988, %i1012, align 4 - call void @f8 [air Tensor(InitStrided { data: Device })](%i1003, i16 2, %a1, %i1004, %i1009, i8 3) arg0( Mod nocapture ) arg2( NoModRef ) arg3( Ref nocapture ) arg4( Ref nocapture ) + call void @f8 [air Tensor(InitStrided { data: Device, trailing: false })](%i1003, i16 2, %a1, %i1004, %i1009, i8 3) arg0( Mod nocapture ) arg2( NoModRef ) arg3( Ref nocapture ) arg4( Ref nocapture ) %i1015 = tail call i32 @f11 [air SimdgroupSize(SimdgroupSize { ty: I32 })]() call void @f12(i32 2, i32 32, i32 32, i32 32, i8 0, i8 1, i8 0, i32 1, %i22, i32 536870920, i32 536870920, i32 536870944, %i1015) convergent "no-builtins"="" %i1017 = bitcast %i14 to ptr addrspace(0) @@ -1275,7 +1275,7 @@ bb135: store i32 1, %i1085, align 4 %i1087 = getelementptr inbounds %t34, %i8, i64 0, i32 0, i64 1 store %i1071, %i1087, align 4 - call void @f8 [air Tensor(InitStrided { data: Device })](%i1078, i16 2, %a0, %i1079, %i1084, i8 3) arg0( Mod nocapture ) arg2( NoModRef ) arg3( Ref nocapture ) arg4( Ref nocapture ) + call void @f8 [air Tensor(InitStrided { data: Device, trailing: false })](%i1078, i16 2, %a0, %i1079, %i1084, i8 3) arg0( Mod nocapture ) arg2( NoModRef ) arg3( Ref nocapture ) arg4( Ref nocapture ) %i1090 = bitcast %i10 to ptr addrspace(0) %i1091 = bitcast %i5 to ptr addrspace(0) %i1092 = getelementptr inbounds %t34, %i5, i64 0, i32 0, i64 0 @@ -1287,7 +1287,7 @@ bb135: store i32 1, %i1097, align 4 %i1099 = getelementptr inbounds %t34, %i6, i64 0, i32 0, i64 1 store %i1075, %i1099, align 4 - call void @f8 [air Tensor(InitStrided { data: Device })](%i1090, i16 2, %a1, %i1091, %i1096, i8 3) arg0( Mod nocapture ) arg2( NoModRef ) arg3( Ref nocapture ) arg4( Ref nocapture ) + call void @f8 [air Tensor(InitStrided { data: Device, trailing: false })](%i1090, i16 2, %a1, %i1091, %i1096, i8 3) arg0( Mod nocapture ) arg2( NoModRef ) arg3( Ref nocapture ) arg4( Ref nocapture ) %i1102 = tail call i32 @f11 [air SimdgroupSize(SimdgroupSize { ty: I32 })]() %i1103 = shl i32 %i1102, i32 1 call void @f12(i32 2, i32 16, i32 64, i32 16, i8 0, i8 0, i8 0, i32 1, %i11, i32 536870920, i32 536870920, i32 536870944, %i1103) convergent "no-builtins"="" diff --git a/crates/metal2vulkan/tests/golden_hashes.tsv b/crates/metal2vulkan/tests/golden_hashes.tsv index ffd7cf90d..434434439 100644 --- a/crates/metal2vulkan/tests/golden_hashes.tsv +++ b/crates/metal2vulkan/tests/golden_hashes.tsv @@ -1203,12 +1203,14 @@ engine/ibs_sample_imageblocks.ll 852bebc622e25504 ibs_write_early e61160b5d1c03c engine/ibs_sample_imageblocks.ll 852bebc622e25504 ibs_write_masked 8fb5f115c725fa91 8fb5f115c725fa91 8fb5f115c725fa91 8fb5f115c725fa91 8fb5f115c725fa91 8fb5f115c725fa91 bf53a20747e11d3e bf53a20747e11d3e bf53a20747e11d3e bf53a20747e11d3e 8fb5f115c725fa91 Unsupported{Imageblocks; AnyOf[[Feature(FragmentShaderPixelInterlock)]]} 8fb5f115c725fa91 2cbabbe4ddc4c26f bf53a20747e11d3e bf53a20747e11d3e Unsupported{Imageblocks; AnyOf[[Feature(FragmentShaderPixelInterlock)]]} Unsupported{Imageblocks; AnyOf[[Feature(FragmentShaderPixelInterlock)]]} Unsupported{Imageblocks; AnyOf[[Feature(FragmentShaderPixelInterlock), Feature(FragmentStoresAndAtomics)]]} engine/icb_copy_encode.air.ll 935376d3138d1ba4 icb_copy_encode 6851ded98cfaf290 6851ded98cfaf290 6851ded98cfaf290 6851ded98cfaf290 6851ded98cfaf290 6851ded98cfaf290 6851ded98cfaf290 6851ded98cfaf290 6851ded98cfaf290 6851ded98cfaf290 6851ded98cfaf290 Unsupported{GpuEncodedIndirectCommands; AnyOf[[Feature(BufferDeviceAddress), Feature(ShaderInt64)]]} c47612c901bc70cf 6851ded98cfaf290 6851ded98cfaf290 6851ded98cfaf290 Unsupported{GpuEncodedIndirectCommands; AnyOf[[Feature(ShaderInt64)]]} Unsupported{GpuEncodedIndirectCommands; AnyOf[[Feature(ShaderInt64)]]} Unsupported{GpuEncodedIndirectCommands; AnyOf[[Feature(BufferDeviceAddress), Feature(ShaderInt64)]]} engine/icb_copy_encode.ll 65a085a752198a71 icb_copy_encode 6851ded98cfaf290 6851ded98cfaf290 6851ded98cfaf290 6851ded98cfaf290 6851ded98cfaf290 6851ded98cfaf290 6851ded98cfaf290 6851ded98cfaf290 6851ded98cfaf290 6851ded98cfaf290 6851ded98cfaf290 Unsupported{GpuEncodedIndirectCommands; AnyOf[[Feature(BufferDeviceAddress), Feature(ShaderInt64)]]} c47612c901bc70cf 6851ded98cfaf290 6851ded98cfaf290 6851ded98cfaf290 Unsupported{GpuEncodedIndirectCommands; AnyOf[[Feature(ShaderInt64)]]} Unsupported{GpuEncodedIndirectCommands; AnyOf[[Feature(ShaderInt64)]]} Unsupported{GpuEncodedIndirectCommands; AnyOf[[Feature(BufferDeviceAddress), Feature(ShaderInt64)]]} -engine/icb_depth_indexed_encode.air.ll 1333cd10657e6bbc dio_encode 73fad26e5ed96e5f 73fad26e5ed96e5f 73fad26e5ed96e5f 73fad26e5ed96e5f 73fad26e5ed96e5f 73fad26e5ed96e5f 20266578f8de26a5 20266578f8de26a5 20266578f8de26a5 20266578f8de26a5 73fad26e5ed96e5f Unsupported{GpuEncodedIndirectCommands; AnyOf[[Feature(BufferDeviceAddress), Feature(ShaderInt64)]]} 73fad26e5ed96e5f dbc5e5b510f5f96c 20266578f8de26a5 20266578f8de26a5 Unsupported{GpuEncodedIndirectCommands; AnyOf[[Feature(ShaderInt64)]]} Unsupported{GpuEncodedIndirectCommands; AnyOf[[Feature(ShaderInt64)]]} Unsupported{GpuEncodedIndirectCommands; AnyOf[[Feature(BufferDeviceAddress), Feature(ShaderInt64)]]} -engine/icb_depth_indexed_encode.air.ll 1333cd10657e6bbc dio_reset b79cd97a02bd72f5 b79cd97a02bd72f5 b79cd97a02bd72f5 b79cd97a02bd72f5 b79cd97a02bd72f5 b79cd97a02bd72f5 b79cd97a02bd72f5 b79cd97a02bd72f5 b79cd97a02bd72f5 b79cd97a02bd72f5 b79cd97a02bd72f5 b79cd97a02bd72f5 b79cd97a02bd72f5 b79cd97a02bd72f5 b79cd97a02bd72f5 b79cd97a02bd72f5 b79cd97a02bd72f5 b79cd97a02bd72f5 b79cd97a02bd72f5 -engine/icb_depth_indexed_encode.air.ll 1333cd10657e6bbc dio_vertex 90a5fb34de18b999 90a5fb34de18b999 90a5fb34de18b999 90a5fb34de18b999 90a5fb34de18b999 90a5fb34de18b999 d2abf2ce8158ce04 d2abf2ce8158ce04 d2abf2ce8158ce04 d2abf2ce8158ce04 90a5fb34de18b999 540bac72ff072717 90a5fb34de18b999 540bac72ff072717 d2abf2ce8158ce04 d2abf2ce8158ce04 540bac72ff072717 540bac72ff072717 540bac72ff072717 -engine/icb_depth_indexed_encode.ll 1c5df6ef1e8a969e dio_encode 73fad26e5ed96e5f 73fad26e5ed96e5f 73fad26e5ed96e5f 73fad26e5ed96e5f 73fad26e5ed96e5f 73fad26e5ed96e5f 20266578f8de26a5 20266578f8de26a5 20266578f8de26a5 20266578f8de26a5 73fad26e5ed96e5f Unsupported{GpuEncodedIndirectCommands; AnyOf[[Feature(BufferDeviceAddress), Feature(ShaderInt64)]]} 73fad26e5ed96e5f dbc5e5b510f5f96c 20266578f8de26a5 20266578f8de26a5 Unsupported{GpuEncodedIndirectCommands; AnyOf[[Feature(ShaderInt64)]]} Unsupported{GpuEncodedIndirectCommands; AnyOf[[Feature(ShaderInt64)]]} Unsupported{GpuEncodedIndirectCommands; AnyOf[[Feature(BufferDeviceAddress), Feature(ShaderInt64)]]} -engine/icb_depth_indexed_encode.ll 1c5df6ef1e8a969e dio_reset b79cd97a02bd72f5 b79cd97a02bd72f5 b79cd97a02bd72f5 b79cd97a02bd72f5 b79cd97a02bd72f5 b79cd97a02bd72f5 b79cd97a02bd72f5 b79cd97a02bd72f5 b79cd97a02bd72f5 b79cd97a02bd72f5 b79cd97a02bd72f5 b79cd97a02bd72f5 b79cd97a02bd72f5 b79cd97a02bd72f5 b79cd97a02bd72f5 b79cd97a02bd72f5 b79cd97a02bd72f5 b79cd97a02bd72f5 b79cd97a02bd72f5 -engine/icb_depth_indexed_encode.ll 1c5df6ef1e8a969e dio_vertex 90a5fb34de18b999 90a5fb34de18b999 90a5fb34de18b999 90a5fb34de18b999 90a5fb34de18b999 90a5fb34de18b999 d2abf2ce8158ce04 d2abf2ce8158ce04 d2abf2ce8158ce04 d2abf2ce8158ce04 90a5fb34de18b999 540bac72ff072717 90a5fb34de18b999 540bac72ff072717 d2abf2ce8158ce04 d2abf2ce8158ce04 540bac72ff072717 540bac72ff072717 540bac72ff072717 +engine/icb_depth_indexed_encode.air.ll 652602c4efe51c49 dio_encode 73fad26e5ed96e5f 73fad26e5ed96e5f 73fad26e5ed96e5f 73fad26e5ed96e5f 73fad26e5ed96e5f 73fad26e5ed96e5f 20266578f8de26a5 20266578f8de26a5 20266578f8de26a5 20266578f8de26a5 73fad26e5ed96e5f Unsupported{GpuEncodedIndirectCommands; AnyOf[[Feature(BufferDeviceAddress), Feature(ShaderInt64)]]} 73fad26e5ed96e5f dbc5e5b510f5f96c 20266578f8de26a5 20266578f8de26a5 Unsupported{GpuEncodedIndirectCommands; AnyOf[[Feature(ShaderInt64)]]} Unsupported{GpuEncodedIndirectCommands; AnyOf[[Feature(ShaderInt64)]]} Unsupported{GpuEncodedIndirectCommands; AnyOf[[Feature(BufferDeviceAddress), Feature(ShaderInt64)]]} +engine/icb_depth_indexed_encode.air.ll 652602c4efe51c49 dio_encode_strided b0d0fb8dd6798853 b0d0fb8dd6798853 b0d0fb8dd6798853 b0d0fb8dd6798853 b0d0fb8dd6798853 b0d0fb8dd6798853 c81a231a3058383f c81a231a3058383f c81a231a3058383f c81a231a3058383f b0d0fb8dd6798853 Unsupported{GpuEncodedIndirectCommands; AnyOf[[Feature(BufferDeviceAddress), Feature(ShaderInt64)]]} b0d0fb8dd6798853 3b70e2d5e23f6eaa c81a231a3058383f c81a231a3058383f Unsupported{GpuEncodedIndirectCommands; AnyOf[[Feature(ShaderInt64)]]} Unsupported{GpuEncodedIndirectCommands; AnyOf[[Feature(ShaderInt64)]]} Unsupported{GpuEncodedIndirectCommands; AnyOf[[Feature(BufferDeviceAddress), Feature(ShaderInt64)]]} +engine/icb_depth_indexed_encode.air.ll 652602c4efe51c49 dio_reset b79cd97a02bd72f5 b79cd97a02bd72f5 b79cd97a02bd72f5 b79cd97a02bd72f5 b79cd97a02bd72f5 b79cd97a02bd72f5 b79cd97a02bd72f5 b79cd97a02bd72f5 b79cd97a02bd72f5 b79cd97a02bd72f5 b79cd97a02bd72f5 b79cd97a02bd72f5 b79cd97a02bd72f5 b79cd97a02bd72f5 b79cd97a02bd72f5 b79cd97a02bd72f5 b79cd97a02bd72f5 b79cd97a02bd72f5 b79cd97a02bd72f5 +engine/icb_depth_indexed_encode.air.ll 652602c4efe51c49 dio_vertex 90a5fb34de18b999 90a5fb34de18b999 90a5fb34de18b999 90a5fb34de18b999 90a5fb34de18b999 90a5fb34de18b999 d2abf2ce8158ce04 d2abf2ce8158ce04 d2abf2ce8158ce04 d2abf2ce8158ce04 90a5fb34de18b999 540bac72ff072717 90a5fb34de18b999 540bac72ff072717 d2abf2ce8158ce04 d2abf2ce8158ce04 540bac72ff072717 540bac72ff072717 540bac72ff072717 +engine/icb_depth_indexed_encode.ll edd2a32ee603de84 dio_encode 73fad26e5ed96e5f 73fad26e5ed96e5f 73fad26e5ed96e5f 73fad26e5ed96e5f 73fad26e5ed96e5f 73fad26e5ed96e5f 20266578f8de26a5 20266578f8de26a5 20266578f8de26a5 20266578f8de26a5 73fad26e5ed96e5f Unsupported{GpuEncodedIndirectCommands; AnyOf[[Feature(BufferDeviceAddress), Feature(ShaderInt64)]]} 73fad26e5ed96e5f dbc5e5b510f5f96c 20266578f8de26a5 20266578f8de26a5 Unsupported{GpuEncodedIndirectCommands; AnyOf[[Feature(ShaderInt64)]]} Unsupported{GpuEncodedIndirectCommands; AnyOf[[Feature(ShaderInt64)]]} Unsupported{GpuEncodedIndirectCommands; AnyOf[[Feature(BufferDeviceAddress), Feature(ShaderInt64)]]} +engine/icb_depth_indexed_encode.ll edd2a32ee603de84 dio_encode_strided b0d0fb8dd6798853 b0d0fb8dd6798853 b0d0fb8dd6798853 b0d0fb8dd6798853 b0d0fb8dd6798853 b0d0fb8dd6798853 c81a231a3058383f c81a231a3058383f c81a231a3058383f c81a231a3058383f b0d0fb8dd6798853 Unsupported{GpuEncodedIndirectCommands; AnyOf[[Feature(BufferDeviceAddress), Feature(ShaderInt64)]]} b0d0fb8dd6798853 3b70e2d5e23f6eaa c81a231a3058383f c81a231a3058383f Unsupported{GpuEncodedIndirectCommands; AnyOf[[Feature(ShaderInt64)]]} Unsupported{GpuEncodedIndirectCommands; AnyOf[[Feature(ShaderInt64)]]} Unsupported{GpuEncodedIndirectCommands; AnyOf[[Feature(BufferDeviceAddress), Feature(ShaderInt64)]]} +engine/icb_depth_indexed_encode.ll edd2a32ee603de84 dio_reset b79cd97a02bd72f5 b79cd97a02bd72f5 b79cd97a02bd72f5 b79cd97a02bd72f5 b79cd97a02bd72f5 b79cd97a02bd72f5 b79cd97a02bd72f5 b79cd97a02bd72f5 b79cd97a02bd72f5 b79cd97a02bd72f5 b79cd97a02bd72f5 b79cd97a02bd72f5 b79cd97a02bd72f5 b79cd97a02bd72f5 b79cd97a02bd72f5 b79cd97a02bd72f5 b79cd97a02bd72f5 b79cd97a02bd72f5 b79cd97a02bd72f5 +engine/icb_depth_indexed_encode.ll edd2a32ee603de84 dio_vertex 90a5fb34de18b999 90a5fb34de18b999 90a5fb34de18b999 90a5fb34de18b999 90a5fb34de18b999 90a5fb34de18b999 d2abf2ce8158ce04 d2abf2ce8158ce04 d2abf2ce8158ce04 d2abf2ce8158ce04 90a5fb34de18b999 540bac72ff072717 90a5fb34de18b999 540bac72ff072717 d2abf2ce8158ce04 d2abf2ce8158ce04 540bac72ff072717 540bac72ff072717 540bac72ff072717 engine/icb_imageblock_encode.air.ll 61afdf2558c5994c icb_imageblock_encode 6f64a22a447f95ea 6f64a22a447f95ea 6f64a22a447f95ea 6f64a22a447f95ea 6f64a22a447f95ea 6f64a22a447f95ea 6f64a22a447f95ea 6f64a22a447f95ea 6f64a22a447f95ea 6f64a22a447f95ea 6f64a22a447f95ea Unsupported{GpuEncodedIndirectCommands; AnyOf[[Feature(BufferDeviceAddress), Feature(ShaderInt64)]]} 6f64a22a447f95ea 6f64a22a447f95ea 6f64a22a447f95ea 6f64a22a447f95ea Unsupported{GpuEncodedIndirectCommands; AnyOf[[Feature(ShaderInt64)]]} Unsupported{GpuEncodedIndirectCommands; AnyOf[[Feature(ShaderInt64)]]} Unsupported{GpuEncodedIndirectCommands; AnyOf[[Feature(BufferDeviceAddress), Feature(ShaderInt64)]]} engine/icb_imageblock_encode.ll 6635e3fefaef0947 icb_imageblock_encode 6f64a22a447f95ea 6f64a22a447f95ea 6f64a22a447f95ea 6f64a22a447f95ea 6f64a22a447f95ea 6f64a22a447f95ea 6f64a22a447f95ea 6f64a22a447f95ea 6f64a22a447f95ea 6f64a22a447f95ea 6f64a22a447f95ea Unsupported{GpuEncodedIndirectCommands; AnyOf[[Feature(BufferDeviceAddress), Feature(ShaderInt64)]]} 6f64a22a447f95ea 6f64a22a447f95ea 6f64a22a447f95ea 6f64a22a447f95ea Unsupported{GpuEncodedIndirectCommands; AnyOf[[Feature(ShaderInt64)]]} Unsupported{GpuEncodedIndirectCommands; AnyOf[[Feature(ShaderInt64)]]} Unsupported{GpuEncodedIndirectCommands; AnyOf[[Feature(BufferDeviceAddress), Feature(ShaderInt64)]]} engine/icb_imageblock_template.air.ll f1a9f5e05aed40be icb_imageblock_template 4e0b6e5343215f3a 4e0b6e5343215f3a 4e0b6e5343215f3a 4e0b6e5343215f3a 4e0b6e5343215f3a 4e0b6e5343215f3a 4e0b6e5343215f3a 4e0b6e5343215f3a 4e0b6e5343215f3a 4e0b6e5343215f3a 4e0b6e5343215f3a 2092a1cab40651c8 4e0b6e5343215f3a 2092a1cab40651c8 4e0b6e5343215f3a 4e0b6e5343215f3a 2092a1cab40651c8 2092a1cab40651c8 2092a1cab40651c8 diff --git a/crates/metal2vulkan/tests/public_fixture_expectations_engine.tsv b/crates/metal2vulkan/tests/public_fixture_expectations_engine.tsv index 3f25fc597..93dd57851 100644 --- a/crates/metal2vulkan/tests/public_fixture_expectations_engine.tsv +++ b/crates/metal2vulkan/tests/public_fixture_expectations_engine.tsv @@ -1344,9 +1344,11 @@ engine/icb_copy_encode.air.ll icb_copy_encode ok ok ok ok ok ok ok ok ok ok ok U engine/icb_copy_encode.ll icb_copy_encode ok ok ok ok ok ok ok ok ok ok ok Unsupported{GpuEncodedIndirectCommands; AnyOf[[Feature(BufferDeviceAddress), Feature(ShaderInt64)]]} ok ok ok ok Unsupported{GpuEncodedIndirectCommands; AnyOf[[Feature(ShaderInt64)]]} Unsupported{GpuEncodedIndirectCommands; AnyOf[[Feature(ShaderInt64)]]} Unsupported{GpuEncodedIndirectCommands; AnyOf[[Feature(BufferDeviceAddress), Feature(ShaderInt64)]]} engine/icb_depth_indexed_encode.air.ll dio_reset ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok engine/icb_depth_indexed_encode.air.ll dio_encode ok ok ok ok ok ok ok ok ok ok ok Unsupported{GpuEncodedIndirectCommands; AnyOf[[Feature(BufferDeviceAddress), Feature(ShaderInt64)]]} ok ok ok ok Unsupported{GpuEncodedIndirectCommands; AnyOf[[Feature(ShaderInt64)]]} Unsupported{GpuEncodedIndirectCommands; AnyOf[[Feature(ShaderInt64)]]} Unsupported{GpuEncodedIndirectCommands; AnyOf[[Feature(BufferDeviceAddress), Feature(ShaderInt64)]]} +engine/icb_depth_indexed_encode.air.ll dio_encode_strided ok ok ok ok ok ok ok ok ok ok ok Unsupported{GpuEncodedIndirectCommands; AnyOf[[Feature(BufferDeviceAddress), Feature(ShaderInt64)]]} ok ok ok ok Unsupported{GpuEncodedIndirectCommands; AnyOf[[Feature(ShaderInt64)]]} Unsupported{GpuEncodedIndirectCommands; AnyOf[[Feature(ShaderInt64)]]} Unsupported{GpuEncodedIndirectCommands; AnyOf[[Feature(BufferDeviceAddress), Feature(ShaderInt64)]]} engine/icb_depth_indexed_encode.air.ll dio_vertex ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok engine/icb_depth_indexed_encode.ll dio_reset ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok engine/icb_depth_indexed_encode.ll dio_encode ok ok ok ok ok ok ok ok ok ok ok Unsupported{GpuEncodedIndirectCommands; AnyOf[[Feature(BufferDeviceAddress), Feature(ShaderInt64)]]} ok ok ok ok Unsupported{GpuEncodedIndirectCommands; AnyOf[[Feature(ShaderInt64)]]} Unsupported{GpuEncodedIndirectCommands; AnyOf[[Feature(ShaderInt64)]]} Unsupported{GpuEncodedIndirectCommands; AnyOf[[Feature(BufferDeviceAddress), Feature(ShaderInt64)]]} +engine/icb_depth_indexed_encode.ll dio_encode_strided ok ok ok ok ok ok ok ok ok ok ok Unsupported{GpuEncodedIndirectCommands; AnyOf[[Feature(BufferDeviceAddress), Feature(ShaderInt64)]]} ok ok ok ok Unsupported{GpuEncodedIndirectCommands; AnyOf[[Feature(ShaderInt64)]]} Unsupported{GpuEncodedIndirectCommands; AnyOf[[Feature(ShaderInt64)]]} Unsupported{GpuEncodedIndirectCommands; AnyOf[[Feature(BufferDeviceAddress), Feature(ShaderInt64)]]} engine/icb_depth_indexed_encode.ll dio_vertex ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok engine/icb_imageblock_encode.air.ll icb_imageblock_encode ok ok ok ok ok ok ok ok ok ok ok Unsupported{GpuEncodedIndirectCommands; AnyOf[[Feature(BufferDeviceAddress), Feature(ShaderInt64)]]} ok ok ok ok Unsupported{GpuEncodedIndirectCommands; AnyOf[[Feature(ShaderInt64)]]} Unsupported{GpuEncodedIndirectCommands; AnyOf[[Feature(ShaderInt64)]]} Unsupported{GpuEncodedIndirectCommands; AnyOf[[Feature(BufferDeviceAddress), Feature(ShaderInt64)]]} engine/icb_imageblock_encode.ll icb_imageblock_encode ok ok ok ok ok ok ok ok ok ok ok Unsupported{GpuEncodedIndirectCommands; AnyOf[[Feature(BufferDeviceAddress), Feature(ShaderInt64)]]} ok ok ok ok Unsupported{GpuEncodedIndirectCommands; AnyOf[[Feature(ShaderInt64)]]} Unsupported{GpuEncodedIndirectCommands; AnyOf[[Feature(ShaderInt64)]]} Unsupported{GpuEncodedIndirectCommands; AnyOf[[Feature(BufferDeviceAddress), Feature(ShaderInt64)]]}