[all-commits] [llvm/llvm-project] b2eb7b: SPIRV: Define runtime libcalls to be (almost) empt...

Matt Arsenault via All-commits all-commits at lists.llvm.org
Tue Jul 15 02:51:30 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b2eb7b070115cd6c17b9d1d164d52ac5e0d16b14
      https://github.com/llvm/llvm-project/commit/b2eb7b070115cd6c17b9d1d164d52ac5e0d16b14
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2025-07-15 (Tue, 15 Jul 2025)

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

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

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