[llvm-branch-commits] [llvm] RuntimeLibcalls: Add signatures for floating point comparison libcalls (PR #238521)

Matt Arsenault via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Tue Nov 3 21:56:14 PST 2026


================
@@ -268,6 +268,12 @@ static Type *convertToIRType(FuncArgTypeID ID, LLVMContext &Ctx,
   case SizeT:
   case SSizeT:
     return getSizeTType(Ctx, DL);
+  case CmpResult:
+    if (TT.isAArch64() || TT.isAMDGPU() || TT.isWasm())
----------------
arsenm wrote:

I'll add the amdgpu case, though it doesn't build compiler-rt and probably would never use these functions. The LLP64 case should be handled by the default getArchPointerBitWidth, though I'm not entirely satisfied with relying on that 

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


More information about the llvm-branch-commits mailing list