| Issue |
86719
|
| Summary |
remove signed `reversebits` apis
|
| Labels |
HLSL
|
| Assignees |
farzonl
|
| Reporter |
farzonl
|
reversebits docs only support unsigned inputs and outputs: https://learn.microsoft.com/en-us/windows/win32/direct3dhlsl/reversebits
The following needs to be removed:
1. https://github.com/llvm/llvm-project/blob/main/clang/lib/Headers/hlsl/hlsl_intrinsics.h#L1150C1-L1161C32
2. https://github.com/llvm/llvm-project/blob/main/clang/lib/Headers/hlsl/hlsl_intrinsics.h#L1177C1-L1184C24
3. https://github.com/llvm/llvm-project/blob/main/clang/lib/Headers/hlsl/hlsl_intrinsics.h#L1195C1-L1202C32
Finally Add sema checks on the `__builtin_elementwise_bitreverse` builtin
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs