[Mlir-commits] [mlir] [mlir][nvgpu] Make `phaseParity` of `mbarrier.try_wait` `i1` (PR #81460)

Durgadoss R llvmlistbot at llvm.org
Mon Feb 12 08:51:30 PST 2024


================
@@ -197,7 +197,8 @@ func.func @main() {
     {
       %ticks = arith.constant 10000000 : index
       // TMA wait
-      nvgpu.mbarrier.try_wait.parity %barrier[%i], %c0, %ticks : !barrierType
+      %phase = arith.constant 0 : i1
----------------
durga4github wrote:

I like the c0 kind of naming that we usually use for constants.
Shall we do %phase_c0 for this one ?
(This is optional)

https://github.com/llvm/llvm-project/pull/81460


More information about the Mlir-commits mailing list