@@ -350,26 +350,26 @@ func testArrayUninitializedIntrinsicNested(_ x: Float, _ y: Float) -> [Float] {
350350// CHECK: [ACTIVE] [[ARRAY:%.*]] = apply %14<Float>(%7) : $@convention(thin) <τ_0_0> (@owned Array<τ_0_0>) -> @owned Array<τ_0_0>
351351// CHECK: [USEFUL] [[INT_LIT:%.*]] = integer_literal $Builtin.Word, 2
352352// CHECK: [NONE] // function_ref _allocateUninitializedArray<A>(_:)
353- // CHECK: [ACTIVE] [[TUP:%.*]] = apply %18 <Float>([[INT_LIT]]) : $@convention(thin) <τ_0_0> (Builtin.Word) -> (@owned Array<τ_0_0>, Builtin.RawPointer)
353+ // CHECK: [ACTIVE] [[TUP:%.*]] = apply %19 <Float>([[INT_LIT]]) : $@convention(thin) <τ_0_0> (Builtin.Word) -> (@owned Array<τ_0_0>, Builtin.RawPointer)
354354// CHECK: [ACTIVE] (**[[LHS:%.*]]**, [[RHS:%.*]]) = destructure_tuple [[TUP]] : $(Array<Float>, Builtin.RawPointer)
355355// CHECK: [VARIED] ([[LHS]], **[[RHS]]**) = destructure_tuple [[TUP]] : $(Array<Float>, Builtin.RawPointer)
356356// CHECK: [ACTIVE] [[FLOAT_PTR:%.*]] = pointer_to_address [[RHS]] : $Builtin.RawPointer to [strict] $*Float
357357// CHECK: [USEFUL] [[ZERO_LITERAL:%.*]] = integer_literal $Builtin.IntLiteral, 0
358358// CHECK: [USEFUL] [[META:%.*]] = metatype $@thin Int.Type
359359// CHECK: [NONE] // function_ref Int.init(_builtinIntegerLiteral:)
360- // CHECK: [USEFUL] [[RESULT_2:%.*]] = apply %25 ([[ZERO_LITERAL]], [[META]]) : $@convention(method) (Builtin.IntLiteral, @thin Int.Type) -> Int
360+ // CHECK: [USEFUL] [[RESULT_2:%.*]] = apply %26 ([[ZERO_LITERAL]], [[META]]) : $@convention(method) (Builtin.IntLiteral, @thin Int.Type) -> Int
361361// CHECK: [NONE] // function_ref Array.subscript.getter
362- // CHECK: [NONE] %28 = apply %27 <Float>([[FLOAT_PTR]], [[RESULT_2]], %15 ) : $@convention(method) <τ_0_0> (Int, @guaranteed Array<τ_0_0>) -> @out τ_0_0
362+ // CHECK: [NONE] %29 = apply %28 <Float>([[FLOAT_PTR]], [[RESULT_2]], %16 ) : $@convention(method) <τ_0_0> (Int, @guaranteed Array<τ_0_0>) -> @out τ_0_0
363363// CHECK: [VARIED] [[ONE_LITERAL:%.*]] = integer_literal $Builtin.Word, 1
364364// CHECK: [ACTIVE] [[INDEX_ADDR:%.*]] = index_addr [[FLOAT_PTR]] : $*Float, [[ONE_LITERAL]] : $Builtin.Word
365365// CHECK: [USEFUL] [[ONE_LITERAL_AGAIN:%.*]] = integer_literal $Builtin.IntLiteral, 1
366366// CHECK: [USEFUL] [[META_AGAIN:%.*]] = metatype $@thin Int.Type
367367// CHECK: [NONE] // function_ref Int.init(_builtinIntegerLiteral:)
368- // CHECK: [USEFUL] %34 = apply %33 ([[ONE_LITERAL_AGAIN]], [[META_AGAIN]]) : $@convention(method) (Builtin.IntLiteral, @thin Int.Type) -> Int
368+ // CHECK: [USEFUL] %35 = apply %34 ([[ONE_LITERAL_AGAIN]], [[META_AGAIN]]) : $@convention(method) (Builtin.IntLiteral, @thin Int.Type) -> Int
369369// CHECK: [NONE] // function_ref Array.subscript.getter
370- // CHECK: [NONE] %36 = apply %35 <Float>(%30 , %34 , %15 ) : $@convention(method) <τ_0_0> (Int, @guaranteed Array<τ_0_0>) -> @out τ_0_0
370+ // CHECK: [NONE] %37 = apply %36 <Float>(%31 , %35 , %16 ) : $@convention(method) <τ_0_0> (Int, @guaranteed Array<τ_0_0>) -> @out τ_0_0
371371// CHECK: [NONE] // function_ref _finalizeUninitializedArray<A>(_:)
372- // CHECK: [ACTIVE] %38 = apply %37 <Float>(%20 ) : $@convention(thin) <τ_0_0> (@owned Array<τ_0_0>) -> @owned Array<τ_0_0>
372+ // CHECK: [ACTIVE] %39 = apply %38 <Float>([[LHS]] ) : $@convention(thin) <τ_0_0> (@owned Array<τ_0_0>) -> @owned Array<τ_0_0>
373373
374374// TF-978: Test array literal initialized with `apply` indirect results.
375375struct Wrapper < T: Differentiable > : Differentiable {
0 commit comments