[all-commits] [llvm/llvm-project] d36cef: [HLSL][DXIL] Implement WaveGetLaneIndex Intrinsic ...

Finn Plummer via All-commits all-commits at lists.llvm.org
Thu Oct 10 11:45:06 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d36cef0b173329fa1f94ff3a92da6a50da4aff9e
      https://github.com/llvm/llvm-project/commit/d36cef0b173329fa1f94ff3a92da6a50da4aff9e
  Author: Finn Plummer <50529406+inbelic at users.noreply.github.com>
  Date:   2024-10-10 (Thu, 10 Oct 2024)

  Changed paths:
    M clang/lib/CodeGen/CGBuiltin.cpp
    M clang/lib/Sema/SemaHLSL.cpp
    M clang/test/CodeGenHLSL/builtins/wave_get_lane_index_simple.hlsl
    A clang/test/SemaHLSL/BuiltIns/WaveGetLaneIndex-errors.hlsl
    M llvm/include/llvm/IR/IntrinsicsDirectX.td
    M llvm/lib/Target/DirectX/DXIL.td
    A llvm/test/CodeGen/DirectX/WaveGetLaneIndex.ll

  Log Message:
  -----------
  [HLSL][DXIL] Implement WaveGetLaneIndex Intrinsic (#111576)

- add additional lowering for directx backend in CGBuiltin.cpp
    - add directx intrinsic to IntrinsicsDirectX.td
    - add semantic check of arguments in SemaHLSL.cpp
    - add mapping to DXIL op in DXIL.td

    - add testing of semantics in WaveGetLaneIndex-errors.hlsl
    - add testing of dxil lowering in WaveGetLaneIndex.ll
  
Resolves #70105



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