[all-commits] [llvm/llvm-project] 57e112: RuntimeLibcalls: Describe register-returning divmo...

Matt Arsenault via All-commits all-commits at lists.llvm.org
Fri Sep 25 04:29:31 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 57e112ccb2a509c0e1d36963b187fccdd59566de
      https://github.com/llvm/llvm-project/commit/57e112ccb2a509c0e1d36963b187fccdd59566de
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2026-09-25 (Fri, 25 Sep 2026)

  Changed paths:
    M llvm/lib/IR/RuntimeLibcalls.cpp
    A llvm/test/Transforms/Util/DeclareRuntimeLibcalls/divmod.ll

  Log Message:
  -----------
  RuntimeLibcalls: Describe register-returning divmod libcall ABIs (#217825)

Teach RuntimeLibcallsInfo::getFunctionTy about the ARM AEABI
(__aeabi_*divmod) and Windows (__rt_*div*) divmod signatures. Currently
the custom lowering to these calls hardcodes the call signature
information, but in the future this should be automatically handled.

Co-authored-by: Claude (Claude-Opus-4.8) <noreply at anthropic.com>



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list