[all-commits] [llvm/llvm-project] a8a504: RuntimeLibcalls: Add definitions for vector math f...

Matt Arsenault via All-commits all-commits at lists.llvm.org
Mon Nov 24 15:58:08 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a8a504a08d14b7e855af7616a2663f25508cc184
      https://github.com/llvm/llvm-project/commit/a8a504a08d14b7e855af7616a2663f25508cc184
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2025-11-24 (Mon, 24 Nov 2025)

  Changed paths:
    M llvm/include/llvm/IR/RuntimeLibcalls.td

  Log Message:
  -----------
  RuntimeLibcalls: Add definitions for vector math functions (#167026)

This is mostly the output of a vibe coded script running on
VecFuncs.def, with a lot of manual cleanups and fixing where the
vibes were off. This is not yet wired up to anything (except for the
handful of calls which are already manually enabled). In the future
the SystemLibrary mechanism needs to be generalized to allow plugging
these sets in based on the flag.

One annoying piece is there are some name conflicts across the
libraries. Some of the libmvec functions have name collisions with some 
sleef functions. I solved this by just adding a prefix to the libmvec functions. 
It would probably be a good idea to add a prefix to every group. It gets ugly,
particularly since some of the sleef functions started to use a Sleef_
prefix, but mostly do not.



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