[all-commits] [llvm/llvm-project] 5200a8: SPIRV: Define runtime libcalls to be (almost) empty

Matt Arsenault via All-commits all-commits at lists.llvm.org
Mon Jul 14 06:28:27 PDT 2025


  Branch: refs/heads/users/arsenm/spirv/define-runtime-libcalls-empty
  Home:   https://github.com/llvm/llvm-project
  Commit: 5200a8ae248780edd257c14755b0cfe4c56d7d7c
      https://github.com/llvm/llvm-project/commit/5200a8ae248780edd257c14755b0cfe4c56d7d7c
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2025-07-14 (Mon, 14 Jul 2025)

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

  Log Message:
  -----------
  SPIRV: Define runtime libcalls to be (almost) empty

This is a behavior change; previously SPIRV inherited
a default set of calls which seems like a mistake. This
defines a library set with no calls. Add memcpy and memset
as a hack; this avoids PreISelIntrinsicLowering performing
the default expansion. SPIRVPrepareFunctions also calls
the utilities to expand these but the resulting output
is slightly different. The backend specific version
can probably be removed, it for some reason has a larger
output than the default one.



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