Skip to content

Commit c9cc86f

Browse files
committed
---
yaml --- r: 346739 b: refs/heads/master c: ae1ce11 h: refs/heads/master i: 346737: 1803884 346735: 6673656
1 parent 8bd2273 commit c9cc86f

File tree

2 files changed

+8
-9
lines changed

2 files changed

+8
-9
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
refs/heads/master: ca86c7946ddb43b8976e56d32dad70568d803e54
2+
refs/heads/master: ae1ce11882014be931bfe0e95517ac5c9c83b676
33
refs/heads/master-next: 203b3026584ecad859eb328b2e12490099409cd5
44
refs/tags/osx-passed: b6b74147ef8a386f532cf9357a1bde006e552c54
55
refs/tags/swift-2.2-SNAPSHOT-2015-12-01-a: 6bb18e013c2284f2b45f5f84f2df2887dc0f7dea

trunk/test/SILOptimizer/licm_exclusivity.swift

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -35,14 +35,13 @@ func run_ReversedArray(_ N: Int) {
3535
// TEST2: Hoist and Sink pairs attempt
3636
// TEST2: Hoisted
3737

38-
// FIXME: <rdar://problem/45931225> Re-enable the below
39-
//
40-
// xTESTSIL-LABEL: sil @$s16licm_exclusivity20count_unicodeScalarsyySS17UnicodeScalarViewVF : $@convention(thin) (@guaranteed String.UnicodeScalarView) -> () {
41-
// xTESTSIL: bb0(%0 : $String.UnicodeScalarView)
42-
// xTESTSIL-NEXT: %1 = global_addr @$s16licm_exclusivity5countSivp : $*Int
43-
// xTESTSIL: begin_access [modify] [dynamic] [no_nested_conflict] %1 : $*Int
44-
// xTESTSIL: end_access
45-
// xTESTSIL: return
38+
// TESTSIL-LABEL: sil @$s16licm_exclusivity20count_unicodeScalarsyySS17UnicodeScalarViewVF : $@convention(thin) (@guaranteed String.UnicodeScalarView) -> () {
39+
// TESTSIL: bb0(%0 : $String.UnicodeScalarView)
40+
// TESTSIL: bb5:
41+
// TESTSIL-NEXT: [[A1:%.*]] = global_addr @$s16licm_exclusivity5countSivp : $*Int
42+
// TESTSIL: begin_access [modify] [dynamic] [no_nested_conflict] [[A1]] : $*Int
43+
// TESTSIL: end_access
44+
// TESTSIL: return
4645
var count: Int = 0
4746
public func count_unicodeScalars(_ s: String.UnicodeScalarView) {
4847
for _ in s {

0 commit comments

Comments
 (0)