[clang] [llvm] [DXIL][SPIRV] Lower WaveActiveCountBits intrinsic (PR #113382)

Greg Roth via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 24 13:09:27 PDT 2024


================
@@ -820,3 +820,12 @@ def WaveGetLaneIndex : DXILOp<111, waveGetLaneIndex> {
   let stages = [Stages<DXIL1_0, [all_stages]>];
   let attributes = [Attributes<DXIL1_0, [ReadNone]>];
 }
+
+def WaveAllBitCount : DXILOp<135, waveAllOp> {
----------------
pow2clk wrote:

Initially, I thought this couldn't be right since the latter name `waveAllOp` mismatches the former `WaveAllBitCount` in more than just capitalization, but though DXIL.rst makes no mention of waveAllOp, that is the name of the actual DXIL op. Weird, but consistent.

https://github.com/llvm/llvm-project/pull/113382


More information about the llvm-commits mailing list