[all-commits] [llvm/llvm-project] 18cb22: [SPIR-V] Fix lowering of declarations with hidden ...

Dmitry Sidorov via All-commits all-commits at lists.llvm.org
Wed Mar 11 06:39:54 PDT 2026


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

  Changed paths:
    M llvm/lib/Target/SPIRV/MCTargetDesc/SPIRVMCAsmInfo.cpp
    M llvm/lib/Target/SPIRV/SPIRVUtils.cpp
    A llvm/test/CodeGen/SPIRV/linkage/hidden-interface-vars.ll
    A llvm/test/CodeGen/SPIRV/linkage/hidden-visibility.ll
    A llvm/test/CodeGen/SPIRV/linkage/protected-visibility.ll

  Log Message:
  -----------
  [SPIR-V] Fix lowering of declarations with hidden visibility (#185029)

They should be translated to SPIR-V and have Import linkage (unless they
are Interface variables).

Also add a test for protected visibility, just to make sure, that we are
aligned it its translation.



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