[all-commits] [llvm/llvm-project] 8c9136: DAG: Use RuntimeLibcalls to legalize vector frem c...

Matt Arsenault via All-commits all-commits at lists.llvm.org
Thu Dec 11 05:02:23 PST 2025


  Branch: refs/heads/users/arsenm/dag/use-normal-vector-legalize-frem-libcall
  Home:   https://github.com/llvm/llvm-project
  Commit: 8c9136688f75888ed52046f3ba5e3bcf5e5437c4
      https://github.com/llvm/llvm-project/commit/8c9136688f75888ed52046f3ba5e3bcf5e5437c4
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2025-12-11 (Thu, 11 Dec 2025)

  Changed paths:
    M llvm/include/llvm/CodeGen/RuntimeLibcallUtil.h
    M llvm/include/llvm/IR/RuntimeLibcalls.td
    M llvm/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp
    M llvm/lib/CodeGen/TargetLoweringBase.cpp
    M llvm/lib/IR/RuntimeLibcalls.cpp
    M llvm/test/Transforms/Util/DeclareRuntimeLibcalls/armpl.ll
    M llvm/test/Transforms/Util/DeclareRuntimeLibcalls/sleef.ll

  Log Message:
  -----------
  DAG: Use RuntimeLibcalls to legalize vector frem calls

This continues the replacement of TargetLibraryInfo uses in codegen
with RuntimeLibcallsInfo started in 821d2825a4f782da3da3c03b8a002802bff4b95c.
The series there handled all of the multiple result calls. This
extends for the other handled case, which happened to be frem.

For some reason the Libcall for these are prefixed with "REM_", for
the instruction "frem", which maps to the libcall "fmod".



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