Skip to content

Commit de9e50f

Browse files
committed
[test/SILOptimizer] Revert some typo changes.
1 parent 18e1f80 commit de9e50f

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

test/SILOptimizer/access_enforcement_selection.sil

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ sil [ossa] @takesInoutAndClosure : $@convention(thin) (@inout Builtin.Int64, @gu
6767
sil [ossa] @closureCapturingByStorageAddress : $@convention(thin) (@inout_aliasable Builtin.Int64) -> ()
6868

6969
// Test static enforcement of box addresses that escape via closure
70-
// partial_applies.
70+
// partial_applys.
7171
// application.
7272
// CHECK-LABEL: sil hidden [ossa] @escapeAsArgumentToPartialApply : $@convention(thin) () -> () {
7373
// CHECK: bb0:
@@ -99,7 +99,7 @@ bb0:
9999
return %9 : $()
100100
}
101101

102-
sil [dynamically_replaceable] [ossa] @closureCapturingByStorageAddress2 : $@convention(thin) (@inout_aliasable Builtin.Int64) -> ()
102+
sil [dynamically_replacable] [ossa] @closureCapturingByStorageAddress2 : $@convention(thin) (@inout_aliasable Builtin.Int64) -> ()
103103

104104
// Make sure that we handle dynamic_function_ref.
105105
sil hidden [ossa] @escapeAsArgumentToPartialApplyDynamic : $@convention(thin) () -> () {

test/SILOptimizer/dictionary_lookup_with_default.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ public struct S {
99
mutating func doSomething() { }
1010
}
1111

12-
// Check that all partial_applies can be optimized away so that no closure context needs to be allocated.
12+
// Check that all partial_applys can be optimized away so that no closure context needs to be allocated.
1313

1414
// CHECK-LABEL: sil @$s4test6testit_1xySDySiAA1SVGz_SitF :
1515
// CHECK-NOT: partial_apply

test/SILOptimizer/exclusivity_static_diagnostics.sil

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1479,7 +1479,7 @@ bb0(%0 : $*TestDynamic):
14791479

14801480
// This callee actually accesses different subpaths, but the caller's
14811481
// diagnostic should not be able to see that.
1482-
sil private [dynamically_replaceable] [ossa] @testDynamicLocal : $@convention(thin) (@inout Builtin.Int64, @inout_aliasable TestDynamic) -> () {
1482+
sil private [dynamically_replacable] [ossa] @testDynamicLocal : $@convention(thin) (@inout Builtin.Int64, @inout_aliasable TestDynamic) -> () {
14831483
bb0(%0 : $*Builtin.Int64, %1 : $*TestDynamic):
14841484
%literal = integer_literal $Builtin.Int64, 1
14851485
%access1 = begin_access [modify] [unknown] %0 : $*Builtin.Int64

test/SILOptimizer/function_uses.sil

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ sil @public_func : $@convention(thin) () -> ()
2727
// CHECK-NEXT: %1 = dynamic_function_ref @internal_func
2828
// CHECK-NEXT: ]
2929
// CHECK-NEXT: End function internal_func
30-
sil hidden [dynamically_replaceable] @internal_func : $@convention(thin) () -> () {
30+
sil hidden [dynamically_replacable] @internal_func : $@convention(thin) () -> () {
3131
bb0:
3232
%0 = function_ref @public_func : $@convention(thin) () -> ()
3333
%1 = function_ref @public_func : $@convention(thin) () -> ()

test/SILOptimizer/simplify_cfg_ossa_jump_threading.sil

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ bb9:
183183
// not know how to allocate for multiple partial applies.
184184
//
185185
// rdar://119768691 (OwnershipModelEliminator triggers assertion when
186-
// lowering certain [on_stack] partial_applies in certain
186+
// lowering certain [on_stack] partial_applys in certain
187187
// circumstances)
188188

189189
sil @test_simple_jump_thread_clone_partial_apply_closure : $@convention(thin) (@inout_aliasable Klass) -> ()

0 commit comments

Comments
 (0)