[mlir] Add bar.warp.sync to NVVM
authorGuray Ozen <guray.ozen@gmail.com>
Wed, 5 Oct 2022 10:23:32 +0000 (12:23 +0200)
committerGuray Ozen <guray.ozen@gmail.com>
Thu, 6 Oct 2022 10:27:53 +0000 (12:27 +0200)
commit040805dc4748f5b21261acdf562a424dd2f565c8
treeb8de6eab7baaa1c2158c84b2de5de7a78023a639
parent1b9a6e58a8b831193c9e5e733f881aabe0d2d06b
[mlir] Add bar.warp.sync to NVVM

It adds the missing `bar.warp.sync` to the nvvm dialect. It is a barrier to synchronize for threads in a warp.

Reviewed By: ftynse

Differential Revision: https://reviews.llvm.org/D135253
mlir/include/mlir/Dialect/LLVMIR/NVVMOps.td
mlir/test/Dialect/LLVMIR/nvvm.mlir