[all-commits] [llvm/llvm-project] c1940c: [SPIR-V] Add store legalization for ptrcast (#135369)

Nathan Gauër via All-commits all-commits at lists.llvm.org
Tue Apr 22 02:59:17 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c1940cd0deef84c9cbbf6966d956b8fef4519efa
      https://github.com/llvm/llvm-project/commit/c1940cd0deef84c9cbbf6966d956b8fef4519efa
  Author: Nathan Gauër <brioche at google.com>
  Date:   2025-04-22 (Tue, 22 Apr 2025)

  Changed paths:
    M llvm/lib/Target/SPIRV/SPIRVLegalizePointerCast.cpp
    M llvm/test/CodeGen/SPIRV/pointers/getelementptr-downcast-struct.ll
    M llvm/test/CodeGen/SPIRV/pointers/getelementptr-downcast-vector.ll
    A llvm/test/CodeGen/SPIRV/pointers/store-struct.ll

  Log Message:
  -----------
  [SPIR-V] Add store legalization for ptrcast (#135369)

This commits adds handling for spv.ptrcast result being used in a store
instruction, modifying the store to operate on the source type.



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