Skip to content

Commit 5ef30e2

Browse files
committed
tests: enable a few tests for arm64 (and other non x86_64 64-bit) CPUs
The original intention of those REQUIRE lines where to limit the tests to run on 64 bit architectures.
1 parent 8a78496 commit 5ef30e2

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

test/IRGen/objc_block_consumed.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
// We want to test that IRGen doesn't assert on this code. SIL is the best place
88
// to file check that the block parameter is actually +1.
99

10-
// REQUIRES: CPU=x86_64
10+
// REQUIRES: PTRSIZE=64
1111
// REQUIRES: objc_interop
1212

1313
import gizmo

test/SILOptimizer/escape_analysis_release_hoisting.sil

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// RUN: %target-sil-opt -enable-sil-verify-all -release-hoisting %s | %FileCheck %s
2-
// REQUIRES: CPU=x86_64
2+
// REQUIRES: PTRSIZE=64
33
// REQUIRES: OS=macosx
44

55
sil_stage canonical

test/SILOptimizer/specialize_opaque_result_types.sil

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// RUN: %target-swift-frontend -disable-availability-checking %S/Inputs/opaque_result_types.swift -module-name External -emit-module -emit-module-path %t/External.swiftmodule
33
// RUN: %target-sil-opt -I %t -enable-sil-verify-all %s -generic-specializer | %FileCheck %s
44

5-
// REQUIRES: CPU=x86_64
5+
// REQUIRES: PTRSIZE=64
66

77
import Builtin
88
import Swift

test/SILOptimizer/specialize_opaque_result_types_ossa.sil

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// RUN: %target-swift-frontend -disable-availability-checking %S/Inputs/opaque_result_types.swift -module-name External -emit-module -emit-module-path %t/External.swiftmodule
33
// RUN: %target-sil-opt -I %t -enable-sil-verify-all %s -generic-specializer | %FileCheck %s
44

5-
// REQUIRES: CPU=x86_64
5+
// REQUIRES: PTRSIZE=64
66

77
import Builtin
88
import Swift

0 commit comments

Comments
 (0)