Skip to content

Commit 1bd4562

Browse files
committed
Adjust file check to reflect file renaming
1 parent 68a0dcc commit 1bd4562

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/stdlib/Span/BoundsCheckOptimization.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ import Swift
1717
func read(index: Int, span: Span<UInt8>) -> UInt8 {
1818
span[index]
1919
}
20-
// CHECK: s22BoundsCheckElimination4read5index4spans5UInt8VSi_s4SpanVyAFGtF:
20+
// CHECK: s23BoundsCheckOptimization4read5index4spans5UInt8VSi_s4SpanVyAFGtF:
2121

2222
// CHECK-arm64-NOT: tbnz
2323
// CHECK-arm64: cmp
@@ -36,7 +36,7 @@ func read(index: Int, span: Span<UInt8>) -> UInt8 {
3636
func write(value: UInt8, index: Int, span: inout MutableSpan<UInt8>) {
3737
span[index] = value
3838
}
39-
// CHECK: s22BoundsCheckElimination5write5value5index4spanys5UInt8V_Sis11MutableSpanVyAGGztF:
39+
// CHECK: s23BoundsCheckOptimization5write5value5index4spanys5UInt8V_Sis11MutableSpanVyAGGztF:
4040

4141
// CHECK-arm64-NOT: tbnz
4242
// CHECK-arm64: cmp

0 commit comments

Comments
 (0)