[all-commits] [llvm/llvm-project] 739062: [SPIR-V] Add spv.gep support for ptrcast legal (#1...

Nathan Gauër via All-commits all-commits at lists.llvm.org
Tue Apr 8 03:55:59 PDT 2025


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

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

  Log Message:
  -----------
  [SPIR-V] Add spv.gep support for ptrcast legal (#134388)

Adds support the the spv.gep intrinsic to the spv ptrcast legalization
step. Those intrinsics are generated by the backend thus not directly
visible in the tests.
This is a pre-requisite to implement addrspacecast legalization for
logical SPIR-V.



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