File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -28,7 +28,10 @@ class Klass {}
28
28
29
29
// CHECK-SIL-LABEL: sil hidden @$s8moveonly7useMoveyAA5KlassCADnF : $@convention(thin) (@owned Klass) -> @owned Klass {
30
30
// CHECK-SIL: bb0([[ARG:%.*]] :
31
- // CHECK-SIL-NEXT: debug_value
31
+ // CHECK-SIL-NEXT: debug_value [moved]
32
+ // CHECK-SIL-NEXT: br bb1
33
+ //
34
+ // CHECK-SIL: bb1
32
35
// CHECK-SIL-NEXT: strong_retain
33
36
// CHECK-SIL-NEXT: move_value
34
37
// CHECK-SIL-NEXT: debug_value [moved] undef
@@ -62,7 +65,9 @@ func useMove(_ k: __owned Klass) -> Klass {
62
65
63
66
// CHECK-SIL-LABEL: sil hidden @$s8moveonly7useMoveyxxnRlzClF : $@convention(thin) <T where T : AnyObject> (@owned T) -> @owned T {
64
67
// CHECK-SIL: bb0([[ARG:%.*]] :
65
- // CHECK-SIL-NEXT: debug_value
68
+ // CHECK-SIL-NEXT: debug_value [moved]
69
+ // CHECK-SIL-NEXT: br bb1
70
+ // CHECK-SIL: bb1:
66
71
// CHECK-SIL-NEXT: strong_retain
67
72
// CHECK-SIL-NEXT: move_value
68
73
// CHECK-SIL-NEXT: debug_value [moved] undef
You can’t perform that action at this time.
0 commit comments