[all-commits] [llvm/llvm-project] 76d83e: [SPIRV] Correctly map OpGenericCastToPtrExplicit b...

Victor Lomuller via All-commits all-commits at lists.llvm.org
Mon Apr 28 09:05:45 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 76d83e62508548b5f43baa482f74d24886efb763
      https://github.com/llvm/llvm-project/commit/76d83e62508548b5f43baa482f74d24886efb763
  Author: Victor Lomuller <victor at codeplay.com>
  Date:   2025-04-28 (Mon, 28 Apr 2025)

  Changed paths:
    M llvm/lib/Target/SPIRV/SPIRVBuiltins.cpp
    M llvm/lib/Target/SPIRV/SPIRVBuiltins.td
    M llvm/lib/Target/SPIRV/SPIRVISelLowering.cpp
    M llvm/lib/Target/SPIRV/SPIRVInstructionSelector.cpp
    M llvm/lib/Target/SPIRV/SPIRVSymbolicOperands.td
    M llvm/lib/Target/SPIRV/SPIRVUtils.h
    M llvm/test/CodeGen/SPIRV/transcoding/OpGenericCastToPtr.ll

  Log Message:
  -----------
  [SPIRV] Correctly map OpGenericCastToPtrExplicit builtins (#137189)

The __spirv_GenericCastToPtrExplicit_To* builtins and its equivalent
OpenCL builtins (to_global, to_local and to_private) were mapped to
OpGenericCastToPtr instead of OpGenericCastToPtrExplicit.

The patch now uses OpGenericCastToPtrExplicit for these builtins.



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