[all-commits] [llvm/llvm-project] cfd898: [SPIRV] Handle vector load/store for RWBuffer (#12...

Steven Perron via All-commits all-commits at lists.llvm.org
Fri Feb 7 06:12:58 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: cfd8980fe79872feb9ed81959aa018681c7b3354
      https://github.com/llvm/llvm-project/commit/cfd8980fe79872feb9ed81959aa018681c7b3354
  Author: Steven Perron <stevenperron at google.com>
  Date:   2025-02-07 (Fri, 07 Feb 2025)

  Changed paths:
    M llvm/lib/Target/SPIRV/SPIRVEmitIntrinsics.cpp
    M llvm/test/CodeGen/SPIRV/hlsl-resources/BufferLoadStore.ll

  Log Message:
  -----------
  [SPIRV] Handle vector load/store for RWBuffer (#125581)

The type inference for `spv_resource_getpointer` must look at the uses
of the intrinsic. The type of the handle will be a scalar type, but it
can still be read or written as a vector of that type.

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



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