[clang] [llvm] [clang][uefi] add arm, aarch64, x86, loongarch64, riscv64 targets (PR #136247)
Tristan Ross via llvm-commits
llvm-commits at lists.llvm.org
Fri Apr 18 22:49:14 PDT 2025
================
@@ -352,6 +352,8 @@ static MCAsmInfo *createAArch64MCAsmInfo(const MCRegisterInfo &MRI,
MAI = new AArch64MCAsmInfoMicrosoftCOFF();
else if (TheTriple.isOSBinFormatCOFF())
MAI = new AArch64MCAsmInfoGNUCOFF();
+ else if (TheTriple.isUEFI())
+ MAI = new AArch64MCAsmInfoGNUCOFF();
----------------
RossComputerGuy wrote:
Oh, why does x86 use it?
https://github.com/llvm/llvm-project/blob/ee4c8b556c5cf42c55ce9540bbb0e29c11894a71/llvm/lib/Target/X86/MCTargetDesc/X86MCTargetDesc.cpp#L455-L456
Is it because of the win64 calling convention?
https://github.com/llvm/llvm-project/pull/136247
More information about the llvm-commits
mailing list