[Mlir-commits] [mlir] [MLIR][NVVM] Update nvvm.barrier.arrive Op (PR #202608)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Tue Jun 9 06:33:13 PDT 2026


github-actions[bot] wrote:

<!--PREMERGE ADVISOR COMMENT: Linux-->
# :penguin: Linux x64 Test Results

* 8175 tests passed
* 622 tests skipped
* 1 test failed

## Failed Tests
(click on a test name to see its output)

### MLIR
<details>
<summary>MLIR.Conversion/NVVMToLLVM/nvvm-to-llvm.mlir</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 1
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/mlir-opt --convert-nvvm-to-llvm --convert-arith-to-llvm --split-input-file /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Conversion/NVVMToLLVM/nvvm-to-llvm.mlir | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Conversion/NVVMToLLVM/nvvm-to-llvm.mlir
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/mlir-opt --convert-nvvm-to-llvm --convert-arith-to-llvm --split-input-file /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Conversion/NVVMToLLVM/nvvm-to-llvm.mlir
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Conversion/NVVMToLLVM/nvvm-to-llvm.mlir
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Conversion/NVVMToLLVM/nvvm-to-llvm.mlir:590:12: error: CHECK: expected string not found in input
# |  // CHECK: llvm.inline_asm has_side_effects asm_dialect = att "bar.arrive 0, $0;", "r" %[[numberOfThreads]] : (i32) -> ()
# |            ^
# | <stdin>:513:61: note: scanning from here
# |  llvm.func @llvm_nvvm_barrier_arrive(%arg0: i32, %arg1: i32) {
# |                                                             ^
# | <stdin>:513:61: note: with "numberOfThreads" equal to "arg1"
# |  llvm.func @llvm_nvvm_barrier_arrive(%arg0: i32, %arg1: i32) {
# |                                                             ^
# | <stdin>:523:2: note: possible intended match here
# |  llvm.inline_asm has_side_effects asm_dialect = att "mbarrier.init.b64 [$0], $1;", "l,r" %arg0, %arg2 : (!llvm.ptr, i32) -> ()
# |  ^
# | 
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Conversion/NVVMToLLVM/nvvm-to-llvm.mlir
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |              .
# |              .
# |              .
# |            508:  } 
# |            509: } 
# |            510:  
# |            511: // ----- 
# |            512: module { 
# |            513:  llvm.func @llvm_nvvm_barrier_arrive(%arg0: i32, %arg1: i32) { 
# | check:590'0                                                                 X~~ error: no match found
# | check:590'1                                                                     with "numberOfThreads" equal to "arg1"
# |            514:  nvvm.barrier.arrive number_of_threads = %arg1 
# | check:590'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            515:  nvvm.barrier.arrive id = %arg0 number_of_threads = %arg1 
# | check:590'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            516:  llvm.return 
# | check:590'0     ~~~~~~~~~~~~~
# |            517:  } 
# | check:590'0     ~~~
# |            518: } 
# | check:590'0     ~~
# |            519:  
# | check:590'0     ~
# |            520: // ----- 
# | check:590'0     ~~~~~~~~~
# |            521: module { 
# | check:590'0     ~~~~~~~~~
# |            522:  llvm.func @init_mbarrier(%arg0: !llvm.ptr, %arg1: !llvm.ptr<3>, %arg2: i32, %arg3: i1) { 
# | check:590'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            523:  llvm.inline_asm has_side_effects asm_dialect = att "mbarrier.init.b64 [$0], $1;", "l,r" %arg0, %arg2 : (!llvm.ptr, i32) -> () 
# | check:590'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | check:590'2      ?                                                                                                                              possible intended match
# |            524:  llvm.inline_asm has_side_effects asm_dialect = att "@$2 mbarrier.init.b64 [$0], $1;", "l,r,b" %arg0, %arg2, %arg3 : (!llvm.ptr, i32, i1) -> () 
# | check:590'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            525:  llvm.return 
# | check:590'0     ~~~~~~~~~~~~~
# |            526:  } 
# | check:590'0     ~~~
# |            527: } 
# | check:590'0     ~~
# |            528:  
# | check:590'0     ~
# |              .
# |              .
# |              .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

```
</details>

If these failures are unrelated to your changes (for example tests are broken or flaky at HEAD), please open an issue at https://github.com/llvm/llvm-project/issues and add the `infrastructure` label.

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


More information about the Mlir-commits mailing list