[mlir][spirv] Convert gpu.barrier to spv.ControlBarrier
authorLei Zhang <antiagainst@google.com>
Tue, 1 Mar 2022 17:00:38 +0000 (12:00 -0500)
committerLei Zhang <antiagainst@google.com>
Tue, 1 Mar 2022 17:04:00 +0000 (12:04 -0500)
commitc809c9bd3b75962c9fc7ab90c8e90d3be317b43b
tree8b77a08b9e67b7ac695ddfeca4b69230d727008b
parent71c3a5519dbcd609fb64560ac7fdfe8db149b905
[mlir][spirv] Convert gpu.barrier to spv.ControlBarrier

Reviewed By: ThomasRaoux

Differential Revision: https://reviews.llvm.org/D120722
mlir/lib/Conversion/GPUToSPIRV/GPUToSPIRV.cpp
mlir/test/Conversion/GPUToSPIRV/simple.mlir