[all-commits] [llvm/llvm-project] 61dd48: [MLIR][LLVMDialect] SelectionOp conversion pattern
George Mitenkov via All-commits
all-commits at lists.llvm.org
Tue Jul 21 07:12:48 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 61dd481f11051450522bcd2cfcb7222a90d3464e
https://github.com/llvm/llvm-project/commit/61dd481f11051450522bcd2cfcb7222a90d3464e
Author: George Mitenkov <georgemitenk0v at gmail.com>
Date: 2020-07-21 (Tue, 21 Jul 2020)
Changed paths:
M mlir/lib/Conversion/SPIRVToLLVM/ConvertSPIRVToLLVM.cpp
M mlir/test/Conversion/SPIRVToLLVM/control-flow-ops-to-llvm.mlir
Log Message:
-----------
[MLIR][LLVMDialect] SelectionOp conversion pattern
This patch introduces conversion pattern for `spv.selection` op.
The conversion can only be applied to selection with all blocks being
reachable. Moreover, selection with control attributes "Flatten" and
"DontFlatten" is not supported.
Since the `PatternRewriter` hook for block merging has not been implemented
for `ConversionPatternRewriter`, merge and continue blocks are kept
separately.
Reviewed By: antiagainst, ftynse
Differential Revision: https://reviews.llvm.org/D83860
More information about the All-commits
mailing list