[Mlir-commits] [mlir] [MLIR][NVVM] Update mbarrier.test_wait Op (PR #169698)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Fri Nov 28 02:14:37 PST 2025


github-actions[bot] wrote:

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

* 7148 tests passed
* 594 tests skipped
* 1 test failed

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

### MLIR
<details>
<summary>MLIR.Dialect/LLVMIR/nvvm.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 /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Dialect/LLVMIR/nvvm.mlir -split-input-file -verify-diagnostics | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Dialect/LLVMIR/nvvm.mlir
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/mlir-opt /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Dialect/LLVMIR/nvvm.mlir -split-input-file -verify-diagnostics
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Dialect/LLVMIR/nvvm.mlir:469:17: error: unexpected error: custom op 'nvvm.mbarrier.test.wait' is unknown
# |   %isComplete = nvvm.mbarrier.test.wait %barrier, %token : !llvm.ptr, i64 -> i1
# |                 ^
# `-----------------------------
# error: command failed with exit status: 1
# 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/Dialect/LLVMIR/nvvm.mlir
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Dialect/LLVMIR/nvvm.mlir:480:17: error: CHECK-LABEL: expected string not found in input
# | // CHECK-LABEL: @wgmma_fence_aligned
# |                 ^
# | <stdin>:154:23: note: scanning from here
# |  llvm.func @redux_sync(%arg0: i32, %arg1: i32) -> i32 {
# |                       ^
# | <stdin>:182:100: note: possible intended match here
# |  gpu.module @module_1 [#nvvm.target<chip = "sm_90", features = "+ptx70", flags = {fast, ftz}, link = ["my_device_lib.bc"]>] {
# |                                                                                                    ^
# | 
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Dialect/LLVMIR/nvvm.mlir
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |              .
# |              .
# |              .
# |            149:  nvvm.cp.async.shared.global %arg0, %arg1, 16, cache = cg : !llvm.ptr<3>, !llvm.ptr<1> 
# |            150:  nvvm.cp.async.commit.group 
# |            151:  nvvm.cp.async.wait.group 0 
# |            152:  llvm.return 
# |            153:  } 
# |            154:  llvm.func @redux_sync(%arg0: i32, %arg1: i32) -> i32 { 
# | label:480'0                           X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
# |            155:  %0 = nvvm.redux.sync add %arg0, %arg1 : i32 -> i32 
# | label:480'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            156:  %1 = nvvm.redux.sync max %arg0, %arg1 : i32 -> i32 
# | label:480'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            157:  %2 = nvvm.redux.sync min %arg0, %arg1 : i32 -> i32 
# | label:480'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            158:  %3 = nvvm.redux.sync umax %arg0, %arg1 : i32 -> i32 
# | label:480'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            159:  %4 = nvvm.redux.sync umin %arg0, %arg1 : i32 -> i32 
# | label:480'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |              .
# |              .
# |              .
# |            177:  
# | label:480'0     ~
# |            178: // ----- 
# | label:480'0     ~~~~~~~~~
# |            179: // ----- 
# | label:480'0     ~~~~~~~~~
# |            180: // ----- 
# | label:480'0     ~~~~~~~~~
# |            181: module { 
# | label:480'0     ~~~~~~~~~
# |            182:  gpu.module @module_1 [#nvvm.target<chip = "sm_90", features = "+ptx70", flags = {fast, ftz}, link = ["my_device_lib.bc"]>] { 
# | label:480'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | label:480'1                                                                                                        ?                           possible intended match
# |            183:  } 
# | label:480'0     ~~~
# |            184:  gpu.module @module_2 [#nvvm.target<chip = "sm_90">, #nvvm.target<chip = "sm_80">, #nvvm.target<chip = "sm_70">] { 
# | label:480'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            185:  } 
# | label:480'0     ~~~
# |            186:  llvm.func @kernel_func(%arg0: !llvm.ptr {llvm.byval = i32, nvvm.grid_constant}) attributes {nvvm.kernel} { 
# | label:480'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            187:  llvm.return 
# | label:480'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/169698


More information about the Mlir-commits mailing list