[all-commits] [llvm/llvm-project] 3d52f0: [SPIR-V] Don't consider a function be a builtin ju...

Dmitry Sidorov via All-commits all-commits at lists.llvm.org
Wed Mar 4 01:41:36 PST 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3d52f0c539d8b5a372becdb40a651baa78c5fa9a
      https://github.com/llvm/llvm-project/commit/3d52f0c539d8b5a372becdb40a651baa78c5fa9a
  Author: Dmitry Sidorov <Dmitry.Sidorov at amd.com>
  Date:   2026-03-04 (Wed, 04 Mar 2026)

  Changed paths:
    M llvm/lib/Target/SPIRV/SPIRVBuiltins.cpp
    M llvm/lib/Target/SPIRV/SPIRVBuiltins.td
    M llvm/test/CodeGen/SPIRV/transcoding/OpExtInst_vector_promotion_bug.ll
    A llvm/test/CodeGen/SPIRV/user-function-with-builtin-name.ll

  Log Message:
  -----------
  [SPIR-V] Don't consider a function be a builtin just by checking name (#182776)

If a function has the same name as a (n OpenCL) builtin, but not
matching number of arguments to the builtin - consider it to be a user
function.

Fixes: https://github.com/llvm/llvm-project/issues/165237



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