Issue |
89641
|
Summary |
[HLSL] Propose generic bitfield intrinsics in LLVM
|
Labels |
new issue
|
Assignees |
|
Reporter |
bogner
|
As per the conclusions in #87367, we should propose adding bitfield instructions as generic LLVM intrinsics. Specifically, we need operations for [Bfi](https://github.com/microsoft/DirectXShaderCompiler/blob/main/docs/DXIL.rst#bfi), [Ibfe](https://github.com/microsoft/DirectXShaderCompiler/blob/main/docs/DXIL.rst#ibfe), and [Ubfe](https://github.com/microsoft/DirectXShaderCompiler/blob/main/docs/DXIL.rst#ubfe).
These operations exist in several ISAs (sometimes spelled differently, as in BFX on ARM archs), so I think it's reasonable to argue that having a generic for intrinsic for them is useful.
### Acceptance Criteria
- Either consensus from the LLVM community that we should add these operations, or a well reasoned rejection
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs