We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5d086e7 commit f8c4c45Copy full SHA for f8c4c45
test/SILOptimizer/access_wmo.swift
@@ -27,7 +27,9 @@
27
// PRIMARY-LABEL: } // end sil function '$s10access_wmo10readGlobalSiyF'
28
//
29
// WMO-LABEL: sil @$s10access_wmo10readGlobalSiyF : $@convention(thin) () -> Int {
30
-// WMO-NOT: global_addr
+// 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
33
// WMO: [[G2:%.*]] = global_addr @$s10access_wmo12publicGlobalSivp : $*Int
34
// WMO: [[A2:%.*]] = begin_access [read] [dynamic] [no_nested_conflict] [[G2]] : $*Int
35
// WMO: end_access [[A2]] : $*Int
0 commit comments