From b9092e4944c27830557db91a6e0197f840235a8f Mon Sep 17 00:00:00 2001 From: Slava Pestov Date: Mon, 15 Feb 2021 16:12:41 -0500 Subject: [PATCH] Temporarily disable three SILOptimizer tests on 32-bit The proper fix is tracked by rdar://problem/74359824. --- test/SILOptimizer/OSLogFullOptTest.swift | 1 + test/SILOptimizer/dead_array_elim.swift | 1 + test/SILOptimizer/string_optimization.swift | 1 + 3 files changed, 3 insertions(+) diff --git a/test/SILOptimizer/OSLogFullOptTest.swift b/test/SILOptimizer/OSLogFullOptTest.swift index 206d5fb72e55c..0cbfc727c2c9f 100644 --- a/test/SILOptimizer/OSLogFullOptTest.swift +++ b/test/SILOptimizer/OSLogFullOptTest.swift @@ -2,6 +2,7 @@ // // REQUIRES: VENDOR=apple // REQUIRES: swift_stdlib_no_asserts +// REQUIRES: PTRSIZE=64 // This tests the optimality of the IR generated for the new os log APIs. This // is not testing the output of a specific optimization pass (which has separate diff --git a/test/SILOptimizer/dead_array_elim.swift b/test/SILOptimizer/dead_array_elim.swift index e67d25e82648e..4716da890b26f 100644 --- a/test/SILOptimizer/dead_array_elim.swift +++ b/test/SILOptimizer/dead_array_elim.swift @@ -1,6 +1,7 @@ // RUN: %target-swift-frontend -O -emit-sil -primary-file %s | %FileCheck %s // REQUIRES: swift_stdlib_no_asserts +// REQUIRES: PTRSIZE=64 // These tests check whether DeadObjectElimination pass runs as a part of the // optimization pipeline and eliminates dead array literals in Swift code. diff --git a/test/SILOptimizer/string_optimization.swift b/test/SILOptimizer/string_optimization.swift index 601003195b81f..866a9e561602d 100644 --- a/test/SILOptimizer/string_optimization.swift +++ b/test/SILOptimizer/string_optimization.swift @@ -5,6 +5,7 @@ // RUN: %target-run %t/a.out | %FileCheck %s -check-prefix=CHECK-OUTPUT // REQUIRES: executable_test,swift_stdlib_no_asserts +// REQUIRES: PTRSIZE=64 #if _runtime(_ObjC) import Foundation