[all-commits] [llvm/llvm-project] 492ad8: [SPIRV] Add explicit layout (#135789)

Steven Perron via All-commits all-commits at lists.llvm.org
Mon May 5 15:49:33 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 492ad848b1c319ad9641208aaadb41bc575a9c3f
      https://github.com/llvm/llvm-project/commit/492ad848b1c319ad9641208aaadb41bc575a9c3f
  Author: Steven Perron <stevenperron at google.com>
  Date:   2025-05-05 (Mon, 05 May 2025)

  Changed paths:
    M llvm/lib/Target/SPIRV/SPIRVGlobalRegistry.cpp
    M llvm/lib/Target/SPIRV/SPIRVGlobalRegistry.h
    M llvm/lib/Target/SPIRV/SPIRVIRMapping.h
    M llvm/lib/Target/SPIRV/SPIRVISelLowering.cpp
    M llvm/lib/Target/SPIRV/SPIRVISelLowering.h
    M llvm/test/CodeGen/SPIRV/hlsl-resources/StructuredBuffer.ll
    A llvm/test/CodeGen/SPIRV/spirv-explicit-layout.ll

  Log Message:
  -----------
  [SPIRV] Add explicit layout (#135789)

Adds code to add offset decorations when needed. This could cause a
type mismatch for memory instructions. We add code to fix up OpLoad
instructions, so that we could get some tests. Other memory operations
will be handled in another PR.

Part of https://github.com/llvm/llvm-project/issues/134119.



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