Skip to content

Commit eda11c5

Browse files
committed
Fix access tests
1 parent 3335ba5 commit eda11c5

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

test/SILOptimizer/access_wmo.swift

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,7 @@
2727
// PRIMARY-LABEL: } // end sil function '$s10access_wmo10readGlobalSiyF'
2828
//
2929
// WMO-LABEL: sil @$s10access_wmo10readGlobalSiyF : $@convention(thin) () -> Int {
30-
// WMO: [[G1:%.*]] = global_addr @$s10access_wmo14internalGlobalSivp : $*Int
31-
// WMO: [[A1:%.*]] = begin_access [read] [static] [no_nested_conflict] [[G1]] : $*Int
32-
// WMO: end_access [[A1]] : $*Int
30+
// WMO-NOT: global_addr
3331
// WMO: [[G2:%.*]] = global_addr @$s10access_wmo12publicGlobalSivp : $*Int
3432
// WMO: [[A2:%.*]] = begin_access [read] [dynamic] [no_nested_conflict] [[G2]] : $*Int
3533
// WMO: end_access [[A2]] : $*Int

0 commit comments

Comments
 (0)