[all-commits] [llvm/llvm-project] c8295d: [MLIR][SPIRVToLLVM] Conversion for bitrverse and b...
George Mitenkov via All-commits
all-commits at lists.llvm.org
Fri Jun 26 07:34:01 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: c8295de4a66adcc610c315df69286f02c306a1c9
https://github.com/llvm/llvm-project/commit/c8295de4a66adcc610c315df69286f02c306a1c9
Author: George Mitenkov <georgemitenk0v at gmail.com>
Date: 2020-06-26 (Fri, 26 Jun 2020)
Changed paths:
M mlir/lib/Conversion/SPIRVToLLVM/ConvertSPIRVToLLVM.cpp
M mlir/test/Conversion/SPIRVToLLVM/bitwise-ops-to-llvm.mlir
Log Message:
-----------
[MLIR][SPIRVToLLVM] Conversion for bitrverse and bitcount ops
Implemented conversion for `spv.BitReverse` and `spv.BitCount`. Since ODS
generates builders in a different way for LLVM dialect intrinsics, I
added attributes to build method in `DirectConversionPattern` class. The
tests for these ops are in `bitwise-ops-to-llvm.mlir`.
Differential Revision: https://reviews.llvm.org/D82286
More information about the All-commits
mailing list