File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change 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
2
2
3
3
// Check that values of static let and global let variables are propagated into their uses
4
4
// and enable further optimizations like constant propagation, simplifications, etc.
@@ -274,6 +274,7 @@ public func test_static_class_let_int_complex() -> Int {
274
274
// CHECK-LABEL: sil [noinline] @$s25globalopt_let_propagation15test_var_doubleSdyF
275
275
// CHECK: bb0:
276
276
// CHECK-NEXT: global_addr
277
+ // CHECK-NEXT: begin_access [read] [dynamic]
277
278
// CHECK-NEXT: struct_element_addr
278
279
// CHECK-NEXT: load
279
280
@inline ( never)
@@ -284,6 +285,7 @@ public func test_var_double() -> Double {
284
285
// CHECK-LABEL: sil [noinline] @$s25globalopt_let_propagation12test_var_intSiyF
285
286
// CHECK: bb0:
286
287
// CHECK-NEXT: global_addr
288
+ // CHECK-NEXT: begin_access [read] [dynamic]
287
289
// CHECK-NEXT: struct_element_addr
288
290
// CHECK-NEXT: load
289
291
@inline ( never)
You can’t perform that action at this time.
0 commit comments