[all-commits] [llvm/llvm-project] f0eb90: [SPIR-V] Add WaveGetLaneIndex() intrinsic support ...

Nathan Gauër via All-commits all-commits at lists.llvm.org
Mon Mar 25 03:31:08 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f0eb9083402c0130f240a7ef948b3f7b3bdf221c
      https://github.com/llvm/llvm-project/commit/f0eb9083402c0130f240a7ef948b3f7b3bdf221c
  Author: Nathan Gauër <brioche at google.com>
  Date:   2024-03-25 (Mon, 25 Mar 2024)

  Changed paths:
    M llvm/lib/Target/SPIRV/SPIRVBuiltins.cpp
    M llvm/lib/Target/SPIRV/SPIRVBuiltins.td
    M llvm/lib/Target/SPIRV/SPIRVCallLowering.cpp
    M llvm/lib/Target/SPIRV/SPIRVGlobalRegistry.cpp
    M llvm/lib/Target/SPIRV/SPIRVModuleAnalysis.cpp
    M llvm/lib/Target/SPIRV/SPIRVPreLegalizer.cpp
    M llvm/lib/Target/SPIRV/SPIRVUtils.cpp
    A llvm/test/CodeGen/SPIRV/hlsl-intrinsics/WaveGetLaneIndex.ll
    M llvm/test/CodeGen/SPIRV/scfg-add-pre-headers.ll
    M llvm/test/CodeGen/SPIRV/transcoding/spirv-private-array-initialization.ll

  Log Message:
  -----------
  [SPIR-V] Add WaveGetLaneIndex() intrinsic support (#85979)

Add support to generate valid SPIR-V for the WaveGetLaneIndex() HLSL
builtin.

To implement this, I had to fix a few small issues in the backend, like
the i8* pointer type being emitted, even if we have the type information
elsewhere.

Signed-off-by: Nathan Gauër <brioche at google.com>



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