[all-commits] [llvm/llvm-project] cd1bc5: [MLIR][SPIRVToLLVM] Convert bitwise and logical not
George Mitenkov via All-commits
all-commits at lists.llvm.org
Mon Jun 29 16:24:44 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: cd1bc5c15d4e58b574060c844917c8dfeb7a8f54
https://github.com/llvm/llvm-project/commit/cd1bc5c15d4e58b574060c844917c8dfeb7a8f54
Author: George Mitenkov <georgemitenk0v at gmail.com>
Date: 2020-06-29 (Mon, 29 Jun 2020)
Changed paths:
M mlir/lib/Conversion/SPIRVToLLVM/ConvertSPIRVToLLVM.cpp
M mlir/test/Conversion/SPIRVToLLVM/bitwise-ops-to-llvm.mlir
M mlir/test/Conversion/SPIRVToLLVM/logical-to-llvm.mlir
Log Message:
-----------
[MLIR][SPIRVToLLVM] Convert bitwise and logical not
This patch introduces new conversion patterns for bit and logical
negation op: `spv.Not` and `spv.LogicalNot`. They are implemented
by applying xor on the operand and mask with all bits set.
Differential Revision: https://reviews.llvm.org/D82637
More information about the All-commits
mailing list