aboutsummaryrefslogtreecommitdiff
path: root/llvm/tools/llvm-objdump/llvm-objdump.cpp
diff options
context:
space:
mode:
authorGeorge Mitenkov <georgemitenk0v@gmail.com>2020-06-10 19:10:26 -0400
committerLei Zhang <antiagainst@google.com>2020-06-10 19:10:31 -0400
commitd93d8fcdec68211fd3ac7f586fa67bc065acef6a (patch)
treec52187c108538a7333cfbe81a41bf452324de9b6 /llvm/tools/llvm-objdump/llvm-objdump.cpp
parent2638aafe1203f64983017f8998fb09ce986a1b28 (diff)
downloadllvm-d93d8fcdec68211fd3ac7f586fa67bc065acef6a.zip
llvm-d93d8fcdec68211fd3ac7f586fa67bc065acef6a.tar.gz
llvm-d93d8fcdec68211fd3ac7f586fa67bc065acef6a.tar.bz2
[MLIR][SPIRVToLLVM] Implemented conversion for arithmetic ops and 3 bitwise ops.
Following the previous revision `D81100`, this commit implements a templated class that would provide conversion patterns for “straightforward” SPIR-V ops into LLVM dialect. Templating allows to abstract away from concrete implementation for each specific op. Those are mainly binary operations. Currently supported and tested ops are: - Arithmetic ops: `IAdd`, `ISub`, `IMul`, `FAdd`, `FSub`, `FMul`, `FDiv`, `FNegate`, `SDiv`, `SRem` and `UDiv` - Bitwise ops: `BitwiseAnd`, `BitwiseOr`, `BitwiseXor` The implementation relies on `SPIRVToLLVMConversion` class that makes use of `OpConversionPattern`. Differential Revision: https://reviews.llvm.org/D81305
Diffstat (limited to 'llvm/tools/llvm-objdump/llvm-objdump.cpp')
0 files changed, 0 insertions, 0 deletions