[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
Loading
Please sign in to comment