From 2693a29ab64bbc844fde69838df1b8ea2485be71 Mon Sep 17 00:00:00 2001 From: Sergey Bogolepov Date: Fri, 15 Jul 2022 19:22:02 +0300 Subject: [PATCH] [K/N] Disable constant inline phase until we fix macOS AArch 64. This phase causes assertEquals(0x7FF80000_00000000L, Double.NaN.toBits()) to fail. --- .../src/org/jetbrains/kotlin/backend/konan/ToplevelPhases.kt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/kotlin-native/backend.native/compiler/ir/backend.native/src/org/jetbrains/kotlin/backend/konan/ToplevelPhases.kt b/kotlin-native/backend.native/compiler/ir/backend.native/src/org/jetbrains/kotlin/backend/konan/ToplevelPhases.kt index 9c58eaedbe7..7b7cf4d0715 100644 --- a/kotlin-native/backend.native/compiler/ir/backend.native/src/org/jetbrains/kotlin/backend/konan/ToplevelPhases.kt +++ b/kotlin-native/backend.native/compiler/ir/backend.native/src/org/jetbrains/kotlin/backend/konan/ToplevelPhases.kt @@ -302,7 +302,8 @@ internal val allLoweringsPhase = NamedCompilerPhase( coroutinesPhase, typeOperatorPhase, expressionBodyTransformPhase, - constantInliningPhase, +// Disabled for now because it leads to problems with Double.NaN and Float.NaN on macOS AArch 64. +// constantInliningPhase, fileInitializersPhase, bridgesPhase, autoboxPhase,