Bless the snapshot_select fixture's rows: engine inventory, golden hashes, air_input printout

engine/snapshot_select (ss_read_selecting, ss_read_selecting_dfdx), added by 4114585b2a, gets its
rows in public_fixture_expectations_engine.tsv and golden_hashes.tsv and its printout
tests/air_input/snapshot_select.txt. No existing cell moved.

Verified: m3-max job m3-max-39351 (~/.cache/m2v-orch/bless-job.sh at development 3dca675bde):
bless_engine_inventory, bless_golden_hashes and bless_engine_goldens each exited 0; the patch adds
4 + 4 rows and the 145-line printout only; every row of the fixture is ok on every profile.
This commit is contained in:
Anees Iqbal committed 2026-11-16 22:51:52 -08:00
1 parent 3dca675bde
commit 5c47b9c867
3 files changed
+153

No files matched your search

@@ -0,0 +1,145 @@
target triple = "air64_v28-apple-macosx26.0.0"
source_filename = "-"
; datalayout DataLayout { endian: Little, pointers: {0: PointerSpec { size_bits: 64, abi_bits: 64, pref_bits: 64, index_bits: 64 }}, ints: {1: AlignSpec { abi_bits: 8, pref_bits: 8 }, 8: AlignSpec { abi_bits: 8, pref_bits: 8 }, 16: AlignSpec { abi_bits: 16, pref_bits: 16 }, 32: AlignSpec { abi_bits: 32, pref_bits: 32 }, 64: AlignSpec { abi_bits: 64, pref_bits: 64 }}, floats: {16: AlignSpec { abi_bits: 16, pref_bits: 16 }, 32: AlignSpec { abi_bits: 32, pref_bits: 32 }, 64: AlignSpec { abi_bits: 64, pref_bits: 64 }, 128: AlignSpec { abi_bits: 128, pref_bits: 128 }}, vectors: {16: AlignSpec { abi_bits: 16, pref_bits: 16 }, 24: AlignSpec { abi_bits: 32, pref_bits: 32 }, 32: AlignSpec { abi_bits: 32, pref_bits: 32 }, 48: AlignSpec { abi_bits: 64, pref_bits: 64 }, 64: AlignSpec { abi_bits: 64, pref_bits: 64 }, 96: AlignSpec { abi_bits: 128, pref_bits: 128 }, 128: AlignSpec { abi_bits: 128, pref_bits: 128 }, 192: AlignSpec { abi_bits: 256, pref_bits: 256 }, 256: AlignSpec { abi_bits: 256, pref_bits: 256 }, 512: AlignSpec { abi_bits: 512, pref_bits: 512 }, 1024: AlignSpec { abi_bits: 1024, pref_bits: 1024 }}, aggregate: AlignSpec { abi_bits: 0, pref_bits: 64 }, native_ints: [8, 16, 32], stack_align_bits: None, alloca_space: 0, program_space: 0, globals_space: 0, mangling: None, fn_ptr_align: None, non_integral: [] }
%t4 = type <4 x float> (<4 x float>, ptr addrspace(1))
%t8 = type <2 x i32> (<2 x float>)
%t9 = type float (float, float, float)
%t10 = type float (float)
%t12 = type ptr addrspace(2) ()
%t14 = type { <4 x float>, i8 }
%t15 = type %t14 (ptr addrspace(1), ptr addrspace(2), <2 x i32>, <2 x i32>, i32, i32)
%t17 = type [2 x i32]
c11 = %t17 [27, 2]
c21 = <2 x i32> [0, 1]
define %t4 @f0 "ss_read_selecting" memory(Ref, Ref, Ref) "frame-pointer"="all" "min-legal-vector-width"="128" "no-builtins"="" "no-trapping-math"="true" "stack-protector-buffer-size"="8" %a1( Ref nocapture ) {
bb0:
%i0 = shufflevector <2 x float> %a0, <4 x float> poison, <0, 1>
%i1 = tail call <2 x i32> @f1 [air Convert(Convert { dst: NumTy { elem: I32, lanes: 2 }, dst_kind: Unsigned, src: NumTy { elem: F32, lanes: 2 }, src_kind: Float, src_fp8: None, rounding: None, saturate: false })](%i0)
%i2 = tail call ptr addrspace(2) @f7 [air Sampler(GetReadSampler)]()
%i3 = tail call %t14 @f8 [air Texture(Texture { op: Read, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F32, lanes: 4 }, sign: None }), coord16: false, form: Current, status: true, access: Some(Read), states_access: true })](%a1, %i2, %i1, <2 x i32> zeroinitializer, i32 0, i32 1) arg0( Ref nocapture )
%i4 = extractvalue <4 x float> %i3, 0
%i5 = extractelement %i4, i64 0
%i6 = fcmp ogt %i5, float 0x3ECCCCCD
br %i6, bb1, bb2
bb1:
%i8 = extractelement %i4, i64 1
%i9 = tail call float @f4 [air Math(Math { f: Sin, precision: Precise, ty: NumTy { elem: F32, lanes: 1 } })](%i8)
%i10 = extractelement %i4, i64 2
%i11 = tail call float @f5 [air Math(Math { f: Exp2, precision: Precise, ty: NumTy { elem: F32, lanes: 1 } })](%i10)
%i12 = fmul float %i9, %i11
%i13 = tail call float @f2 [llvm Float { op: FMulAdd, ty: NumTy { elem: F32, lanes: 1 } }](%i5, float 0x3F000000, %i12)
%i14 = insertelement %i4, %i13, i64 0
br bb2
bb2:
%i16 = phi <4 x float> [%i14, bb1], [%i4, bb0]
ret %i16
}
declare %t8 @f1 "air.convert.u.v2i32.f.v2f32" memory(NoModRef, NoModRef, NoModRef)
declare %t9 @f2 "llvm.fmuladd.f32" memory(NoModRef, NoModRef, NoModRef)
define %t4 @f3 "ss_read_selecting_dfdx" convergent "frame-pointer"="all" "min-legal-vector-width"="128" "no-builtins"="" "no-trapping-math"="true" "stack-protector-buffer-size"="8" %a1( Ref nocapture ) {
bb0:
%i0 = shufflevector <2 x float> %a0, <4 x float> poison, <0, 1>
%i1 = tail call <2 x i32> @f1 [air Convert(Convert { dst: NumTy { elem: I32, lanes: 2 }, dst_kind: Unsigned, src: NumTy { elem: F32, lanes: 2 }, src_kind: Float, src_fp8: None, rounding: None, saturate: false })](%i0)
%i2 = tail call ptr addrspace(2) @f7 [air Sampler(GetReadSampler)]()
%i3 = tail call %t14 @f8 [air Texture(Texture { op: Read, image: ImageShape { dim: D2, array: false, ms: false, depth: false }, texel: Some(Texel { ty: NumTy { elem: F32, lanes: 4 }, sign: None }), coord16: false, form: Current, status: true, access: Some(Read), states_access: true })](%a1, %i2, %i1, <2 x i32> zeroinitializer, i32 0, i32 1) arg0( Ref nocapture )
%i4 = extractvalue <4 x float> %i3, 0
%i5 = extractelement %i4, i64 0
%i6 = fcmp ogt %i5, float 0x3ECCCCCD
br %i6, bb1, bb2
bb1:
%i8 = extractelement %i4, i64 1
%i9 = tail call float @f4 [air Math(Math { f: Sin, precision: Precise, ty: NumTy { elem: F32, lanes: 1 } })](%i8)
%i10 = extractelement %i4, i64 2
%i11 = tail call float @f5 [air Math(Math { f: Exp2, precision: Precise, ty: NumTy { elem: F32, lanes: 1 } })](%i10)
%i12 = fmul float %i9, %i11
%i13 = tail call float @f2 [llvm Float { op: FMulAdd, ty: NumTy { elem: F32, lanes: 1 } }](%i5, float 0x3F000000, %i12)
%i14 = extractelement %a0, i64 0
%i15 = tail call float @f6 [air Derivative(Derivative { op: Dfdx, fast: false, ty: NumTy { elem: F32, lanes: 1 } })](%i14) convergent
%i16 = tail call float @f2 [llvm Float { op: FMulAdd, ty: NumTy { elem: F32, lanes: 1 } }](%i8, %i15, %i13)
%i17 = insertelement %i4, %i16, i64 0
br bb2
bb2:
%i19 = phi <4 x float> [%i17, bb1], [%i4, bb0]
ret %i19
}
declare %t10 @f4 "air.sin.f32" memory(NoModRef, NoModRef, NoModRef)
declare %t10 @f5 "air.exp2.f32" memory(NoModRef, NoModRef, NoModRef)
declare %t10 @f6 "air.dfdx.f32" convergent
declare %t12 @f7 "air.get_read_sampler" memory(NoModRef, Ref, NoModRef)
declare %t15 @f8 "air.read_texture_2d.v4f32" memory(Ref, NoModRef, NoModRef) %a0( Ref nocapture )
!md0 = !"SDK Version"
!md1 = !"wchar_size"
!md2 = !"frame-pointer"
!md3 = !"air.max_device_buffers"
!md4 = !"air.max_constant_buffers"
!md5 = !"air.max_threadgroup_buffers"
!md6 = !"air.max_textures"
!md7 = !"air.max_read_write_textures"
!md8 = !"air.max_samplers"
!md9 = !"air.render_target"
!md10 = !"air.arg_type_name"
!md11 = !"float4"
!md12 = !"air.position"
!md13 = !"air.center"
!md14 = !"air.no_perspective"
!md15 = !"air.arg_name"
!md16 = !"position"
!md17 = !"air.texture"
!md18 = !"air.location_index"
!md19 = !"air.read"
!md20 = !"texture2d<float, read>"
!md21 = !"t"
!md22 = !"air.compile.denorms_disable"
!md23 = !"air.compile.fast_math_disable"
!md24 = !"air.compile.framebuffer_fetch_enable"
!md25 = !"Apple metal version 32023.922 (metalfe-32023.922.4)"
!md26 = !"Metal"
!md27 = i32 2
!md28 = %t17 c11
!md29 = i32 1
!md30 = i32 4
!md31 = i32 7
!md32 = i32 31
!md33 = i32 128
!md34 = i32 8
!md35 = i32 16
!md36 = ptr addrspace(0) @f0
!md37 = i32 0
!md38 = ptr addrspace(0) @f3
!md39 = !{!md27, !md0, !md28}
!md40 = !{!md29, !md1, !md30}
!md41 = !{!md31, !md2, !md27}
!md42 = !{!md31, !md3, !md32}
!md43 = !{!md31, !md4, !md32}
!md44 = !{!md31, !md5, !md32}
!md45 = !{!md31, !md6, !md33}
!md46 = !{!md31, !md7, !md34}
!md47 = !{!md31, !md8, !md35}
!md48 = !{!md9, !md37, !md37, !md10, !md11}
!md49 = !{!md48}
!md50 = !{!md37, !md12, !md13, !md14, !md10, !md11, !md15, !md16}
!md51 = !{!md29, !md17, !md18, !md37, !md29, !md19, !md10, !md20, !md15, !md21}
!md52 = !{!md50, !md51}
!md53 = !{!md36, !md49, !md52}
!md54 = !{!md38, !md49, !md52}
!md55 = !{!md22}
!md56 = !{!md23}
!md57 = !{!md24}
!md58 = !{!md25}
!md59 = !{!md27, !md34, !md37}
!md60 = !{!md26, !md30, !md37, !md37}
!"llvm.module.flags" = !{!md39, !md40, !md41, !md42, !md43, !md44, !md45, !md46, !md47}
!"air.fragment" = !{!md53, !md54}
!"air.compile_options" = !{!md55, !md56, !md57}
!"llvm.ident" = !{!md58}
!"air.version" = !{!md59}
!"air.language_version" = !{!md60}
@@ -2753,6 +2753,10 @@ engine/smw_writers.ll 31e60e6cebfe87b7 smw_plain dd21fe961bf61230 dd21fe961bf612
engine/smw_writers.ll 31e60e6cebfe87b7 smw_store 5cbb72b5f70f34c9 5cbb72b5f70f34c9 5cbb72b5f70f34c9 5cbb72b5f70f34c9 2e7947601a0f18ba 2e7947601a0f18ba d453c81a1bbdb451 d453c81a1bbdb451 e88cc85a08148af8 d453c81a1bbdb451 2e7947601a0f18ba 112380c994b15e80 5cbb72b5f70f34c9 ab0f6cbcb88e5df9 5a4e3440386c31f9 5a4e3440386c31f9 ab0f6cbcb88e5df9 db497eaf17f1db11 Unsupported{StageStoresAndAtomics; AnyOf[[Feature(FragmentStoresAndAtomics)]]}
engine/snapshot_discard.air.ll 2f1a2bf0b212c6aa sd_read_discarding 8613d97884e0fa97 8613d97884e0fa97 8613d97884e0fa97 8613d97884e0fa97 8613d97884e0fa97 8613d97884e0fa97 8613d97884e0fa97 8613d97884e0fa97 8613d97884e0fa97 8613d97884e0fa97 8613d97884e0fa97 1d7798e1d5eec236 1319ec9b0aea2921 8613d97884e0fa97 8613d97884e0fa97 8613d97884e0fa97 f24f484a851cc148 f24f484a851cc148 916c43575b42f4a4
engine/snapshot_discard.ll 59793167ca519c1d sd_read_discarding 8613d97884e0fa97 8613d97884e0fa97 8613d97884e0fa97 8613d97884e0fa97 8613d97884e0fa97 8613d97884e0fa97 8613d97884e0fa97 8613d97884e0fa97 8613d97884e0fa97 8613d97884e0fa97 8613d97884e0fa97 1d7798e1d5eec236 1319ec9b0aea2921 8613d97884e0fa97 8613d97884e0fa97 8613d97884e0fa97 f24f484a851cc148 f24f484a851cc148 916c43575b42f4a4
engine/snapshot_select.air.ll 91d1124b10b9b4d9 ss_read_selecting 7d4e5cd7b8dfe300 7d4e5cd7b8dfe300 7d4e5cd7b8dfe300 7d4e5cd7b8dfe300 6c18067044d217d0 6c18067044d217d0 7d4e5cd7b8dfe300 7d4e5cd7b8dfe300 7d4e5cd7b8dfe300 7d4e5cd7b8dfe300 6c18067044d217d0 73670f36f62a78c7 53d82cfde772111d 6c18067044d217d0 7d4e5cd7b8dfe300 7d4e5cd7b8dfe300 8ec3050a7637cc45 8ec3050a7637cc45 e0cf707aeacc2ccd
engine/snapshot_select.air.ll 91d1124b10b9b4d9 ss_read_selecting_dfdx 232c5c724136101f 232c5c724136101f 232c5c724136101f 232c5c724136101f 97186dd7b4f6d296 97186dd7b4f6d296 232c5c724136101f 232c5c724136101f 232c5c724136101f 232c5c724136101f 97186dd7b4f6d296 5b610c31efe55b26 5cece19117066875 85f9f93fc2e9c7b3 232c5c724136101f 232c5c724136101f 8df8363a54315d9f 8df8363a54315d9f 2d179839628a4cad
engine/snapshot_select.ll f625cedc3fe8d444 ss_read_selecting 7d4e5cd7b8dfe300 7d4e5cd7b8dfe300 7d4e5cd7b8dfe300 7d4e5cd7b8dfe300 6c18067044d217d0 6c18067044d217d0 7d4e5cd7b8dfe300 7d4e5cd7b8dfe300 7d4e5cd7b8dfe300 7d4e5cd7b8dfe300 6c18067044d217d0 73670f36f62a78c7 53d82cfde772111d 6c18067044d217d0 7d4e5cd7b8dfe300 7d4e5cd7b8dfe300 8ec3050a7637cc45 8ec3050a7637cc45 e0cf707aeacc2ccd
engine/snapshot_select.ll f625cedc3fe8d444 ss_read_selecting_dfdx 232c5c724136101f 232c5c724136101f 232c5c724136101f 232c5c724136101f 97186dd7b4f6d296 97186dd7b4f6d296 232c5c724136101f 232c5c724136101f 232c5c724136101f 232c5c724136101f 97186dd7b4f6d296 5b610c31efe55b26 5cece19117066875 85f9f93fc2e9c7b3 232c5c724136101f 232c5c724136101f 8df8363a54315d9f 8df8363a54315d9f 2d179839628a4cad
engine/spc_bool_index.air.ll 9e0cbf10c477467e spc_bool_index 41c87c0398a45b5b 41c87c0398a45b5b 41c87c0398a45b5b 41c87c0398a45b5b 41c87c0398a45b5b 41c87c0398a45b5b 41c87c0398a45b5b 41c87c0398a45b5b e950f5bc723338d5 41c87c0398a45b5b 41c87c0398a45b5b 41c87c0398a45b5b 41c87c0398a45b5b 41c87c0398a45b5b 41c87c0398a45b5b 41c87c0398a45b5b 41c87c0398a45b5b 41c87c0398a45b5b 41c87c0398a45b5b
engine/spc_bool_index.ll b26bbbda3c6debef spc_bool_index 41c87c0398a45b5b 41c87c0398a45b5b 41c87c0398a45b5b 41c87c0398a45b5b 41c87c0398a45b5b 41c87c0398a45b5b 41c87c0398a45b5b 41c87c0398a45b5b e950f5bc723338d5 41c87c0398a45b5b 41c87c0398a45b5b 41c87c0398a45b5b 41c87c0398a45b5b 41c87c0398a45b5b 41c87c0398a45b5b 41c87c0398a45b5b 41c87c0398a45b5b 41c87c0398a45b5b 41c87c0398a45b5b
engine/spc_num_samples.air.ll bd62530a3a429fe2 spc_num_samples ddec2b32c4ca433b ddec2b32c4ca433b ddec2b32c4ca433b ddec2b32c4ca433b ddec2b32c4ca433b ddec2b32c4ca433b ddec2b32c4ca433b ddec2b32c4ca433b ddec2b32c4ca433b ddec2b32c4ca433b ddec2b32c4ca433b ddec2b32c4ca433b ddec2b32c4ca433b ddec2b32c4ca433b ddec2b32c4ca433b ddec2b32c4ca433b ddec2b32c4ca433b ddec2b32c4ca433b ddec2b32c4ca433b
Can't render this file because it is too large.
@@ -2878,6 +2878,10 @@ engine/smw_writers.ll smw_mask ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok o
engine/smw_writers.ll smw_early ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok Unsupported{StageStoresAndAtomics; AnyOf[[Feature(FragmentStoresAndAtomics)]]}
engine/snapshot_discard.air.ll sd_read_discarding ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok
engine/snapshot_discard.ll sd_read_discarding ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok
engine/snapshot_select.air.ll ss_read_selecting ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok
engine/snapshot_select.air.ll ss_read_selecting_dfdx ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok
engine/snapshot_select.ll ss_read_selecting ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok
engine/snapshot_select.ll ss_read_selecting_dfdx ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok
engine/spc_bool_index.air.ll spc_bool_index ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok
engine/spc_bool_index.ll spc_bool_index ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok
engine/spc_num_samples.air.ll spc_num_samples ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok
Can't render this file because it is too large.