[all-commits] [llvm/llvm-project] 6bea9f: [HLSL] Add WaveActiveCountBits as Langugage builti...
Xiang Li via All-commits
all-commits at lists.llvm.org
Thu Jun 2 13:06:15 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 6bea9ff91378571b3bedcdc12fac7bb916371871
https://github.com/llvm/llvm-project/commit/6bea9ff91378571b3bedcdc12fac7bb916371871
Author: Xiang Li <python3kgae at outlook.com>
Date: 2022-06-02 (Thu, 02 Jun 2022)
Changed paths:
M clang/include/clang/Basic/Builtins.def
M clang/include/clang/Basic/Builtins.h
A clang/test/SemaHLSL/Wave.hlsl
Log Message:
-----------
[HLSL] Add WaveActiveCountBits as Langugage builtin function for HLSL
One clang builtins are introduced
uint WaveActiveCountBits( bool bBit ) as Langugage builtin function for HLSL.
The detail for WaveActiveCountBits is at
https://github.com/microsoft/DirectXShaderCompiler/wiki/Wave-Intrinsics#uint-waveactivecountbits-bool-bbit-
This is only clang part change to make WaveActiveCountBits into AST.
llvm intrinsic for WaveActiveCountBits will be add in separate PR.
Reviewed By: Anastasia
Differential Revision: https://reviews.llvm.org/D126857
More information about the All-commits
mailing list