llvm / llvm-project

The LLVM Project is a collection of modular and reusable compiler and toolchain technologies.
http://llvm.org
Other
28.47k stars 11.77k forks source link

[HLSL] Codegen support for `WaveActiveCountBits` #80176

Open llvm-beanz opened 8 months ago

llvm-beanz commented 8 months ago

Description

A stub function and builtin declaration have been added for WaveActiveCountBits to enable building out availability attribute support. The CodeGen is not complete, so we need to fill that support out.

Acceptance Criteria

Completed lowering of WaveActiveCountBits to DirectX-backend intrinsics.

damyanp commented 1 week ago

Marking re-estimate this. Since this was originally refined, we have a different approach to implementing intrinsics and the way we've been estimating intrinsics has changed quite a bit.

Also, this issue isn't linked up like the other intrinsics issues.