================ @@ -165,6 +165,9 @@ std::unique_ptr<TargetInfo> AllocateTarget(const llvm::Triple &Triple, case llvm::Triple::OpenBSD: return std::make_unique<OpenBSDTargetInfo<AArch64leTargetInfo>>(Triple, Opts); + case llvm::Triple::UEFI: + return std::make_unique<UEFIAArch64TargetInfo>(Triple, Opts); ---------------- jhuber6 wrote:
I'm going to just guess that the original patch made a dedicated X64 UEFI target because there weren't any other users. That's not true anymore so we should probably do what the other targets do and take a mixin for the underlying architecture. https://github.com/llvm/llvm-project/pull/120632 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits