Skip to content

Commit f7b8610

Browse files
Merge pull request #72051 from nate-chandler/test/20240302/1
[Test] Removed unneeded check lines.
2 parents b65e926 + fa570fb commit f7b8610

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

test/IRGen/moveonly_value_functions.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@ public func takeGenericContext_1OuterNC_1<T : P>(_ e: consuming GenericContext_1
291291
public func takeOuterSinglePayloadNC_1<T>(_ e: consuming OuterSinglePayloadNC_1<T>) {}
292292

293293
// CHECK-LABEL: define{{.*}} @"$s24moveonly_value_functions26takeOuterSinglePayloadNC_2yyAA0efgH2_2OyxGnlF"(
294-
// CHECK-SAME: ptr noalias nocapture dereferenceable(64) %0,
294+
// : ptr noalias nocapture dereferenceable(64) %0,
295295
// CHECK-SAME: ptr %T)
296296
// CHECK-SAME: {
297297
// CHECK: call{{.*}} @"$s24moveonly_value_functions22OuterSinglePayloadNC_2OyxGlWOs"(
@@ -389,7 +389,7 @@ public func takeOuterMultiPayloadNC_1<T>(_ e: consuming OuterMultiPayloadNC_1<T>
389389
// CHECK: }
390390
public func takeOuterMultiPayloadNC_2<T>(_ e: consuming OuterMultiPayloadNC_2<T>) {}
391391
// CHECK-LABEL: define{{.*}} @"$s24moveonly_value_functions25takeOuterMultiPayloadNC_3yyAA0efgH2_3OyxGnlF"(
392-
// CHECK-SAME: ptr noalias nocapture dereferenceable(64) %0,
392+
// : ptr noalias nocapture dereferenceable(64) %0,
393393
// CHECK-SAME: ptr %T)
394394
// CHECK-SAME: {
395395
// CHECK: call{{.*}} @"$s24moveonly_value_functions21OuterMultiPayloadNC_3OyxGlWOs"(

test/IRGen/moveonly_value_functions_onone.swift

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
// RUN: %target-swift-emit-irgen -Onone \
22
// RUN: -enable-experimental-feature NoncopyableGenerics \
3-
// RUN: -disable-type-layout \
43
// RUN: %s \
54
// RUN: | \
65
// RUN: %IRGenFileCheck %s
@@ -290,7 +289,7 @@ public func takeGenericContext_1OuterNC_1<T : P>(_ e: consuming GenericContext_1
290289
public func takeOuterSinglePayloadNC_1<T>(_ e: consuming OuterSinglePayloadNC_1<T>) {}
291290

292291
// CHECK-LABEL: define{{.*}} @"$s30moveonly_value_functions_onone26takeOuterSinglePayloadNC_2yyAA0fghI2_2OyxGnlF"(
293-
// CHECK-SAME: ptr noalias nocapture dereferenceable(64) %0,
292+
// : ptr noalias nocapture dereferenceable(64) %0,
294293
// CHECK-SAME: ptr %T)
295294
// CHECK-SAME: {
296295
// CHECK: call{{.*}} @"$s30moveonly_value_functions_onone22OuterSinglePayloadNC_2OyxGlWOh"(
@@ -385,7 +384,7 @@ public func takeOuterMultiPayloadNC_1<T>(_ e: consuming OuterMultiPayloadNC_1<T>
385384
// CHECK: }
386385
public func takeOuterMultiPayloadNC_2<T>(_ e: consuming OuterMultiPayloadNC_2<T>) {}
387386
// CHECK-LABEL: define{{.*}} @"$s30moveonly_value_functions_onone25takeOuterMultiPayloadNC_3yyAA0fghI2_3OyxGnlF"(
388-
// CHECK-SAME: ptr noalias nocapture dereferenceable(64) %0,
387+
// : ptr noalias nocapture dereferenceable(64) %0,
389388
// CHECK-SAME: ptr %T)
390389
// CHECK-SAME: {
391390
// CHECK: call{{.*}} @"$s30moveonly_value_functions_onone21OuterMultiPayloadNC_3OyxGlWOh"(

0 commit comments

Comments
 (0)