llvm-project/mlir/lib/Conversion/SPIRVToLLVM
George Mitenkov 771b788687 [MLIR][SPIRVToLLVM] Support cast ops, some logical ops, UModOp
Added support of simple logical ops: `LogicalAnd`, `LogicalOr`,
`LogicalEqual` and `LogicalNotEqual`. Added a missing conversion
for `UMod` op.

Also, implemented SPIR-V cast ops conversion. There are 4 simple
case where there is a clear equivalent in LLVM (e.g. `ConvertFToS`
is `fptosi`). For `FConvert`, `SConvert` and `UConvert` we
distinguish between truncation and extension based on the bit
width of the operand.

Differential Revision: https://reviews.llvm.org/D81812
2020-06-17 17:46:45 -04:00
..
CMakeLists.txt
ConvertSPIRVToLLVM.cpp [MLIR][SPIRVToLLVM] Support cast ops, some logical ops, UModOp 2020-06-17 17:46:45 -04:00
ConvertSPIRVToLLVMPass.cpp