[all-commits] [llvm/llvm-project] dbbadf: [SDAG][X86] Promote float FMODF to double on 32-bi...

Benjamin Maxwell via All-commits all-commits at lists.llvm.org
Tue Mar 11 05:06:36 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: dbbadfd770b76d3917b47572af74f590c82eb632
      https://github.com/llvm/llvm-project/commit/dbbadfd770b76d3917b47572af74f590c82eb632
  Author: Benjamin Maxwell <benjamin.maxwell at arm.com>
  Date:   2025-03-11 (Tue, 11 Mar 2025)

  Changed paths:
    M llvm/lib/Target/X86/X86ISelLowering.cpp
    A llvm/test/CodeGen/X86/llvm.modf-win32.ll

  Log Message:
  -----------
  [SDAG][X86] Promote float FMODF to double on 32-bit Windows (#130636)

On 32-bit MSVC `modff` is not a defined symbol -- only `modf` (`modff`
is an inline function). Promoting FMODF to double in this case ensures
we end up calling `modf` -- matching the behaviour of the CRT headers.



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