[all-commits] [llvm/llvm-project] 6582d7: [HLSL] Add WaveGetLaneCount() intrinsic to FE (#14...

Nathan Gauër via All-commits all-commits at lists.llvm.org
Tue Jun 10 05:25:31 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6582d7d348c14b0e8be98d651b5d6e49d20beedb
      https://github.com/llvm/llvm-project/commit/6582d7d348c14b0e8be98d651b5d6e49d20beedb
  Author: Nathan Gauër <brioche at google.com>
  Date:   2025-06-10 (Tue, 10 Jun 2025)

  Changed paths:
    M clang/include/clang/Basic/Builtins.td
    M clang/lib/CodeGen/CGHLSLBuiltins.cpp
    M clang/lib/CodeGen/CGHLSLRuntime.h
    M clang/lib/Headers/hlsl/hlsl_alias_intrinsics.h
    A clang/test/CodeGenHLSL/builtins/wave_get_lane_count.hlsl
    M llvm/include/llvm/IR/IntrinsicsDirectX.td
    M llvm/include/llvm/IR/IntrinsicsSPIRV.td

  Log Message:
  -----------
  [HLSL] Add WaveGetLaneCount() intrinsic to FE (#143127)

This commit adds code to lower WaveGetLaneCount() into the SPV or DXIL
intrinsic. The backends will then need to lower the intrinsic into
proper SPIR-V/DXIL.

Related to #99159



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