[all-commits] [llvm/llvm-project] e520b2: [DXIL][SPIRV] Lower `WaveActiveCountBits` intrinsi...

Finn Plummer via All-commits all-commits at lists.llvm.org
Thu Nov 7 19:06:59 PST 2024


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

  Changed paths:
    M clang/lib/CodeGen/CGBuiltin.cpp
    M clang/lib/CodeGen/CGHLSLRuntime.h
    A clang/test/CodeGenHLSL/builtins/WaveActiveCountBits.hlsl
    A clang/test/SemaHLSL/BuiltIns/WaveActiveCountBits-errors.hlsl
    M llvm/include/llvm/IR/IntrinsicsDirectX.td
    M llvm/include/llvm/IR/IntrinsicsSPIRV.td
    M llvm/lib/Target/DirectX/DXIL.td
    M llvm/lib/Target/SPIRV/SPIRVInstructionSelector.cpp
    A llvm/test/CodeGen/DirectX/WaveActiveCountBits.ll
    A llvm/test/CodeGen/SPIRV/hlsl-intrinsics/WaveActiveCountBits.ll

  Log Message:
  -----------
  [DXIL][SPIRV] Lower `WaveActiveCountBits` intrinsic (#113382)

```
  - add codegen for llvm builtin to spirv/directx intrinsic in CGBuiltin.cpp
  - add lowering of spirv intrinsic to spirv backend in SPIRVInstructionSelector.cpp
  - add lowering of directx intrinsic to dxil op in DXIL.td

  - add test cases to illustrate passes
  - add test case for semantic analysis
```
  
Resolves #80176



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