Skip to content

Commit 8817de5

Browse files
authored
Merge pull request #39194 from aschwaighofer/disable_arm64_32_global_isel
2 parents a9fd623 + ed6d1f4 commit 8817de5

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -444,7 +444,7 @@ option(SWIFT_ENABLE_DISPATCH
444444
TRUE)
445445

446446
option(SWIFT_ENABLE_GLOBAL_ISEL_ARM64
447-
"Enable global isel on arm64, arm64e, arm64_32"
447+
"Enable global isel on arm64"
448448
FALSE)
449449

450450
cmake_dependent_option(SWIFT_BUILD_SYNTAXPARSERLIB

lib/Frontend/CompilerInvocation.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1891,8 +1891,7 @@ static bool ParseIRGenArgs(IRGenOptions &Opts, ArgList &Args,
18911891
}
18921892

18931893
if (SWIFT_ENABLE_GLOBAL_ISEL_ARM64 &&
1894-
(Triple.getArch() == llvm::Triple::aarch64 ||
1895-
Triple.getArch() == llvm::Triple::aarch64_32) &&
1894+
Triple.getArch() == llvm::Triple::aarch64 &&
18961895
Triple.getArchName() != "arm64e") {
18971896
Opts.EnableGlobalISel = true;
18981897
}

0 commit comments

Comments
 (0)