[all-commits] [llvm/llvm-project] 5124dd: [SPIRV] Add get dimension intrinsics. (#189746)

Steven Perron via All-commits all-commits at lists.llvm.org
Thu Apr 2 10:14:57 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5124dd2536c81a62fff7b9710ae5dd929be95757
      https://github.com/llvm/llvm-project/commit/5124dd2536c81a62fff7b9710ae5dd929be95757
  Author: Steven Perron <stevenperron at google.com>
  Date:   2026-04-02 (Thu, 02 Apr 2026)

  Changed paths:
    M llvm/include/llvm/IR/IntrinsicsSPIRV.td
    M llvm/lib/Target/SPIRV/SPIRVInstructionSelector.cpp
    A llvm/test/CodeGen/SPIRV/hlsl-resources/GetDimensions.ll

  Log Message:
  -----------
  [SPIRV] Add get dimension intrinsics. (#189746)

Add the intrinsics in the wg-hlsl proposal
[[0033] - GetDimensions mapping to built-ins functions and LLVM
intrinsics](https://github.com/llvm/wg-hlsl/blob/main/proposals/0033-resources-get-dimensions.md#lowering-to-spir-v) to the SPIR-V backend. This enabled us to implement the GetDimensions
methods in textures in Clang.

Assisted-by: Gemini



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