[llvm] [llvm] X86_64 CC for UEFI (PR #137905)

Prabhu Rajasekaran via llvm-commits llvm-commits at lists.llvm.org
Thu May 1 15:44:13 PDT 2025


================
@@ -284,7 +284,8 @@ def RetCC_X86Common : CallingConv<[
 
   // Long double types are always returned in FP0 (even with SSE),
   // except on Win64.
-  CCIfNotSubtarget<"isTargetWin64()", CCIfType<[f80], CCAssignToReg<[FP0, FP1]>>>
+  CCIfNotSubtarget<"isTargetWinOrUEFI64()",
+                    CCIfType<[f80], CCAssignToReg<[FP0, FP1]>>>
----------------
Prabhuk wrote:

Changed the code to drop isTargetWinOrUEFI64.

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


More information about the llvm-commits mailing list