[all-commits] [llvm/llvm-project] f704a9: Revert "[HLSL] Set visibility of cbuffer global va...

Jan Patrick Lehr via All-commits all-commits at lists.llvm.org
Tue Jun 9 03:42:58 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f704a92281ee2ff741fa94048970ac6dea19a1b6
      https://github.com/llvm/llvm-project/commit/f704a92281ee2ff741fa94048970ac6dea19a1b6
  Author: Jan Patrick Lehr <JanPatrick.Lehr at amd.com>
  Date:   2026-06-09 (Tue, 09 Jun 2026)

  Changed paths:
    M clang/lib/CodeGen/CGHLSLRuntime.cpp
    M clang/test/CodeGenHLSL/ArrayAssignable.hlsl
    M clang/test/CodeGenHLSL/ArrayAssignable.logicalptr.hlsl
    M clang/test/CodeGenHLSL/cbuffer-matrix-layout-keyword.hlsl
    M clang/test/CodeGenHLSL/resources/cbuffer-empty-struct-array.hlsl
    M clang/test/CodeGenHLSL/resources/cbuffer.hlsl
    M clang/test/CodeGenHLSL/resources/cbuffer_and_namespaces.hlsl
    M clang/test/CodeGenHLSL/resources/cbuffer_with_packoffset.hlsl
    M clang/test/CodeGenHLSL/resources/cbuffer_with_static_global_and_function.hlsl
    M clang/test/CodeGenHLSL/resources/default_cbuffer.hlsl
    M clang/test/CodeGenHLSL/resources/default_cbuffer_with_layout.hlsl
    M llvm/include/llvm/Frontend/HLSL/CBuffer.h
    M llvm/lib/Frontend/HLSL/CBuffer.cpp
    M llvm/lib/Target/DirectX/DXILCBufferAccess.cpp
    M llvm/lib/Target/SPIRV/SPIRVCBufferAccess.cpp
    R llvm/test/CodeGen/DirectX/cbuffer_global_elim.ll
    R llvm/test/CodeGen/SPIRV/cbuffer_global_elim.ll

  Log Message:
  -----------
  Revert "[HLSL] Set visibility of cbuffer global variables to internal" (#202538)

Reverts llvm/llvm-project#200312

Breaks several buildbots, e.g.,
https://lab.llvm.org/buildbot/#/builders/203/builds/48531

Co-authored-by: Nikolas Klauser <nikolasklauser at berlin.de>



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