[all-commits] [llvm/llvm-project] 297798: [mlir][spirv] Add lowering from `loop.if` to `spv....
Denis Khalikov via All-commits
all-commits at lists.llvm.org
Fri Jan 17 09:05:41 PST 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 29779894af42649044df61a8d8b3ff04b59b7b70
https://github.com/llvm/llvm-project/commit/29779894af42649044df61a8d8b3ff04b59b7b70
Author: Denis Khalikov <khalikov.denis at huawei.com>
Date: 2020-01-17 (Fri, 17 Jan 2020)
Changed paths:
M mlir/lib/Conversion/GPUToSPIRV/ConvertGPUToSPIRV.cpp
A mlir/test/Conversion/GPUToSPIRV/if.mlir
Log Message:
-----------
[mlir][spirv] Add lowering from `loop.if` to `spv.selection`
When lowering `loop.if` to `spv.selection` we explicitly create
a selection header block before the control flow diverges and a
merge block where control flow subsequently converges.
Differential Revision: https://reviews.llvm.org/D72836
More information about the All-commits
mailing list