[all-commits] [llvm/llvm-project] b33a0e: [SelectionDAG] Add expansion for llvm.modf intrins...

Alex Wang via All-commits all-commits at lists.llvm.org
Wed Feb 4 12:26:09 PST 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b33a0e61014cac598b251b803ada68661d2fb4da
      https://github.com/llvm/llvm-project/commit/b33a0e61014cac598b251b803ada68661d2fb4da
  Author: Alex Wang <yesterda9 at gmail.com>
  Date:   2026-02-04 (Wed, 04 Feb 2026)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
    A llvm/test/CodeGen/AMDGPU/llvm.modf.ll
    A llvm/test/CodeGen/AMDGPU/modf-constant-fold.ll

  Log Message:
  -----------
  [SelectionDAG] Add expansion for llvm.modf intrinsic (#179434)

Targets without a `modf` libcall lower the intrinsic directly, matching
the existing `llvm.frexp` expansion. Targets with an existing libcall
are unchanged.

Fixes #173021



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