Don't enable GlobalISel on arm64e

It is not well supported

rdar://82082527
This commit is contained in:
Arnold Schwaighofer
2021-08-30 07:40:15 -07:00
parent a9a1a15d22
commit a864d4ed04
2 changed files with 2 additions and 2 deletions

View File

@@ -1885,7 +1885,8 @@ static bool ParseIRGenArgs(IRGenOptions &Opts, ArgList &Args,
if (SWIFT_ENABLE_GLOBAL_ISEL_ARM64 &&
(Triple.getArch() == llvm::Triple::aarch64 ||
Triple.getArch() == llvm::Triple::aarch64_32)) {
Triple.getArch() == llvm::Triple::aarch64_32) &&
Triple.getArchName() != "arm64e") {
Opts.EnableGlobalISel = true;
}