aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
diff options
context:
space:
mode:
authorGeorge Mitenkov <georgemitenk0v@gmail.com>2020-06-23 14:20:42 -0400
committerLei Zhang <antiagainst@google.com>2020-06-23 14:25:35 -0400
commita2edbd8170bd55ea64466a0719e4adda4b08a195 (patch)
tree54fc76b26077e57c21c71f51e8087ac66af50e5d /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
parent8b64adb0a2853f42c09bd98759eec86f51b546ba (diff)
downloadllvm-a2edbd8170bd55ea64466a0719e4adda4b08a195.zip
llvm-a2edbd8170bd55ea64466a0719e4adda4b08a195.tar.gz
llvm-a2edbd8170bd55ea64466a0719e4adda4b08a195.tar.bz2
[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
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions