Skip to content

Commit af9b5b9

Browse files
authored
Merge pull request #39098 from aschwaighofer/disable_global_isel_arm64e
2 parents 38c8544 + a864d4e commit af9b5b9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/Frontend/CompilerInvocation.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1885,7 +1885,8 @@ static bool ParseIRGenArgs(IRGenOptions &Opts, ArgList &Args,
18851885

18861886
if (SWIFT_ENABLE_GLOBAL_ISEL_ARM64 &&
18871887
(Triple.getArch() == llvm::Triple::aarch64 ||
1888-
Triple.getArch() == llvm::Triple::aarch64_32)) {
1888+
Triple.getArch() == llvm::Triple::aarch64_32) &&
1889+
Triple.getArchName() != "arm64e") {
18891890
Opts.EnableGlobalISel = true;
18901891
}
18911892

stdlib/cmake/modules/AddSwiftStdlib.cmake

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,6 @@ function(_add_target_variant_c_compile_flags)
139139
set(result ${${CFLAGS_RESULT_VAR_NAME}})
140140

141141
if ("${CFLAGS_ARCH}" STREQUAL "arm64" OR
142-
"${CFLAGS_ARCH}" STREQUAL "arm64e" OR
143142
"${CFLAGS_ARCH}" STREQUAL "arm64_32")
144143
if (SWIFT_ENABLE_GLOBAL_ISEL_ARM64)
145144
list(APPEND result "-fglobal-isel")

0 commit comments

Comments
 (0)