Skip to content

Commit 8364a1f

Browse files
committed
tests: remove -enforce-exclusivity=unchecked from another test.
This is a follow-up on #29759
1 parent d4837c4 commit 8364a1f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

test/SILOptimizer/globalopt_let_propagation.swift

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: %target-swift-frontend -O -emit-sil -enforce-exclusivity=unchecked -primary-file %s | %FileCheck %s
1+
// RUN: %target-swift-frontend -O -emit-sil -primary-file %s | %FileCheck %s
22

33
// Check that values of static let and global let variables are propagated into their uses
44
// and enable further optimizations like constant propagation, simplifications, etc.
@@ -274,6 +274,7 @@ public func test_static_class_let_int_complex() -> Int {
274274
// CHECK-LABEL: sil [noinline] @$s25globalopt_let_propagation15test_var_doubleSdyF
275275
// CHECK: bb0:
276276
// CHECK-NEXT: global_addr
277+
// CHECK-NEXT: begin_access [read] [dynamic]
277278
// CHECK-NEXT: struct_element_addr
278279
// CHECK-NEXT: load
279280
@inline(never)
@@ -284,6 +285,7 @@ public func test_var_double() -> Double {
284285
// CHECK-LABEL: sil [noinline] @$s25globalopt_let_propagation12test_var_intSiyF
285286
// CHECK: bb0:
286287
// CHECK-NEXT: global_addr
288+
// CHECK-NEXT: begin_access [read] [dynamic]
287289
// CHECK-NEXT: struct_element_addr
288290
// CHECK-NEXT: load
289291
@inline(never)

0 commit comments

Comments
 (0)