[MLIR][LLVMDialect] Added bitreverse and ctpop intrinsics
Introduced `llvm.intr.bitreverse` and `llvm.intr.ctpop` LLVM bit intrinsics to LLVM dialect. These intrinsics help with SPIR-V to LLVM conversion, allowing a direct mapping from `spv.BitReverse` and `spv.BitCount` respectively. Tests are added to `roundtrip.mlir` and `llvm-intrinsics.mlir`. Differential Revision: https://reviews.llvm.org/D82285
Loading
Please register or sign in to comment