Skip to content

Commit b601bb7

Browse files
[clang] remove x86_64-unknown-uefi block
1 parent fe08262 commit b601bb7

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

clang/lib/Driver/Driver.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -699,10 +699,6 @@ static llvm::Triple computeTargetTriple(const Driver &D,
699699
}
700700
}
701701

702-
// Currently the only architecture supported by *-uefi triples are x86_64.
703-
if (Target.isUEFI() && Target.getArch() != llvm::Triple::x86_64)
704-
D.Diag(diag::err_target_unknown_triple) << Target.str();
705-
706702
// The `-maix[32|64]` flags are only valid for AIX targets.
707703
if (Arg *A = Args.getLastArgNoClaim(options::OPT_maix32, options::OPT_maix64);
708704
A && !Target.isOSAIX())

0 commit comments

Comments
 (0)