[clang] [llvm] [LoongArch] Add basic UEFI support (PR #154883)

via cfe-commits cfe-commits at lists.llvm.org
Fri Aug 22 03:19:00 PDT 2025


================
@@ -760,6 +760,9 @@ std::unique_ptr<TargetInfo> AllocateTarget(const llvm::Triple &Triple,
     case llvm::Triple::OpenBSD:
       return std::make_unique<OpenBSDTargetInfo<LoongArch64TargetInfo>>(Triple,
                                                                         Opts);
+    case llvm::Triple::UEFI:
+      return std::make_unique<UEFITargetInfo<LoongArch64TargetInfo>>(Triple,
----------------
leecheechen wrote:

All comments have been addressed. Thanks for all the reviews!

https://github.com/llvm/llvm-project/pull/154883


More information about the cfe-commits mailing list