[Mlir-commits] [mlir] [MLIR][GPU] Add verifier to gpu.barrier requiring kernel context (PR #188729)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Thu Mar 26 04:52:27 PDT 2026
github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Windows-->
# :window: Windows x64 Test Results
* 3573 tests passed
* 415 tests skipped
* 8 tests failed
## Failed Tests
(click on a test name to see its output)
### MLIR
<details>
<summary>MLIR.Conversion/GPUToLLVMSPV/gpu-to-llvm-spv.mlir</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 1
c:\_work\llvm-project\llvm-project\build\bin\mlir-opt.exe -pass-pipeline="builtin.module(gpu.module(convert-gpu-to-llvm-spv{use-64bit-index=true}))" -split-input-file -verify-diagnostics C:\_work\llvm-project\llvm-project\mlir\test\Conversion\GPUToLLVMSPV\gpu-to-llvm-spv.mlir | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe --check-prefixes=CHECK-64,CHECK C:\_work\llvm-project\llvm-project\mlir\test\Conversion\GPUToLLVMSPV\gpu-to-llvm-spv.mlir
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\mlir-opt.exe' '-pass-pipeline=builtin.module(gpu.module(convert-gpu-to-llvm-spv{use-64bit-index=true}))' -split-input-file -verify-diagnostics 'C:\_work\llvm-project\llvm-project\mlir\test\Conversion\GPUToLLVMSPV\gpu-to-llvm-spv.mlir'
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\mlir\test\Conversion\GPUToLLVMSPV\gpu-to-llvm-spv.mlir:225:5: error: unexpected error: 'gpu.barrier' op expected to be nested inside a gpu.func or gpu.launch region
# | gpu.barrier
# | ^
# `-----------------------------
# error: command failed with exit status: 1
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' --check-prefixes=CHECK-64,CHECK 'C:\_work\llvm-project\llvm-project\mlir\test\Conversion\GPUToLLVMSPV\gpu-to-llvm-spv.mlir'
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\mlir\test\Conversion\GPUToLLVMSPV\gpu-to-llvm-spv.mlir:216:18: error: CHECK-LABEL: expected string not found in input
# | // CHECK-LABEL: gpu_barrier
# | ^
# | <stdin>:56:25: note: scanning from here
# | func.func @gpu_grid_dim() -> (index, index, index) {
# | ^
# | <stdin>:74:2: note: possible intended match here
# | gpu.module @shuffles {
# | ^
# |
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\mlir\test\Conversion\GPUToLLVMSPV\gpu-to-llvm-spv.mlir
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 51: %6 = llvm.mlir.constant(2 : i32) : i32
# | 52: %7 = llvm.call spir_funccc @_Z12get_local_idj(%6) {memory_effects = #llvm.memory_effects<other = none, argMem = none, inaccessibleMem = none, errnoMem = none, targetMem0 = none, targetMem1 = none>, no_unwind, will_return} : (i32) -> i64
# | 53: %8 = builtin.unrealized_conversion_cast %7 : i64 to index
# | 54: return %2, %5, %8 : index, index, index
# | 55: }
# | 56: func.func @gpu_grid_dim() -> (index, index, index) {
# | label:216'0 X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
# | 57: %0 = llvm.mlir.constant(0 : i32) : i32
# | label:216'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 58: %1 = llvm.call spir_funccc @_Z14get_num_groupsj(%0) {memory_effects = #llvm.memory_effects<other = none, argMem = none, inaccessibleMem = none, errnoMem = none, targetMem0 = none, targetMem1 = none>, no_unwind, will_return} : (i32) -> i64
# | label:216'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 59: %2 = builtin.unrealized_conversion_cast %1 : i64 to index
# | label:216'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 60: %3 = llvm.mlir.constant(1 : i32) : i32
# | label:216'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 61: %4 = llvm.call spir_funccc @_Z14get_num_groupsj(%3) {memory_effects = #llvm.memory_effects<other = none, argMem = none, inaccessibleMem = none, errnoMem = none, targetMem0 = none, targetMem1 = none>, no_unwind, will_return} : (i32) -> i64
# | label:216'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | 69: }
# | label:216'0 ~~
# | 70:
# | label:216'0 ~
# | 71: // -----
# | label:216'0 ~~~~~~~~~
# | 72: // -----
# | label:216'0 ~~~~~~~~~
# | 73: module {
# | label:216'0 ~~~~~~~~~
# | 74: gpu.module @shuffles {
# | label:216'0 ~~~~~~~~~~~~~~~~~~~~~~~~
# | label:216'1 ? possible intended match
# | 75: llvm.func spir_funccc @_Z21sub_group_shuffle_xorcj(i8, i32) -> i8 attributes {convergent, no_unwind, will_return}
# | label:216'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 76: llvm.func spir_funccc @_Z22sub_group_shuffle_downsj(i16, i32) -> i16 attributes {convergent, no_unwind, will_return}
# | label:216'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 77: llvm.func spir_funccc @_Z22sub_group_shuffle_downdj(f64, i32) -> f64 attributes {convergent, no_unwind, will_return}
# | label:216'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 78: llvm.func spir_funccc @_Z20sub_group_shuffle_upfj(f32, i32) -> f32 attributes {convergent, no_unwind, will_return}
# | label:216'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 79: llvm.func spir_funccc @_Z20sub_group_shuffle_upDhj(f16, i32) -> f16 attributes {convergent, no_unwind, will_return}
# | label:216'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>MLIR.Conversion/GPUToNVVM/gpu-to-nvvm.mlir</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 1
c:\_work\llvm-project\llvm-project\build\bin\mlir-opt.exe C:\_work\llvm-project\llvm-project\mlir\test\Conversion\GPUToNVVM\gpu-to-nvvm.mlir -convert-gpu-to-nvvm='has-redux=1' -split-input-file | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\mlir\test\Conversion\GPUToNVVM\gpu-to-nvvm.mlir
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\mlir-opt.exe' 'C:\_work\llvm-project\llvm-project\mlir\test\Conversion\GPUToNVVM\gpu-to-nvvm.mlir' -convert-gpu-to-nvvm=has-redux=1 -split-input-file
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\mlir\test\Conversion\GPUToNVVM\gpu-to-nvvm.mlir:189:5: error: 'gpu.barrier' op expected to be nested inside a gpu.func or gpu.launch region
# | gpu.barrier
# | ^
# | C:\_work\llvm-project\llvm-project\mlir\test\Conversion\GPUToNVVM\gpu-to-nvvm.mlir:189:5: note: see current operation: "gpu.barrier"() : () -> ()
# `-----------------------------
# error: command failed with exit status: 1
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' 'C:\_work\llvm-project\llvm-project\mlir\test\Conversion\GPUToNVVM\gpu-to-nvvm.mlir'
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\mlir\test\Conversion\GPUToNVVM\gpu-to-nvvm.mlir:8:18: error: CHECK-LABEL: expected string not found in input
# | // CHECK-LABEL: func @gpu_index_ops()
# | ^
# | <stdin>:1:1: note: scanning from here
# | // -----
# | ^
# | <stdin>:4:4: note: possible intended match here
# | llvm.func @kernel_with_cluster_size() attributes {gpu.kernel, gpu.known_cluster_size = array<i32: 8, 2, 4>, nvvm.cluster_dim = array<i32: 8, 2, 4>, nvvm.kernel} {
# | ^
# |
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\mlir\test\Conversion\GPUToNVVM\gpu-to-nvvm.mlir
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | 1: // -----
# | label:8'0 X~~~~~~~~ error: no match found
# | 2: module {
# | label:8'0 ~~~~~~~~~
# | 3: gpu.module @test_module_cluster_size {
# | label:8'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 4: llvm.func @kernel_with_cluster_size() attributes {gpu.kernel, gpu.known_cluster_size = array<i32: 8, 2, 4>, nvvm.cluster_dim = array<i32: 8, 2, 4>, nvvm.kernel} {
# | label:8'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | label:8'1 ? possible intended match
# | 5: llvm.return
# | label:8'0 ~~~~~~~~~~~~~
# | 6: }
# | label:8'0 ~~~
# | 7: }
# | label:8'0 ~~~
# | 8: }
# | label:8'0 ~~
# | 9:
# | label:8'0 ~
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>MLIR.Conversion/GPUToROCDL/gpu-to-rocdl-barrier.mlir</summary>
```
Exit Code: 2
Command Output (stdout):
--
# RUN: at line 1
c:\_work\llvm-project\llvm-project\build\bin\mlir-opt.exe C:\_work\llvm-project\llvm-project\mlir\test\Conversion\GPUToROCDL\gpu-to-rocdl-barrier.mlir -convert-gpu-to-rocdl='chipset=gfx950' --mlir-print-local-scope | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\mlir\test\Conversion\GPUToROCDL\gpu-to-rocdl-barrier.mlir --check-prefixes=CHECK,GFX9
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\mlir-opt.exe' 'C:\_work\llvm-project\llvm-project\mlir\test\Conversion\GPUToROCDL\gpu-to-rocdl-barrier.mlir' -convert-gpu-to-rocdl=chipset=gfx950 --mlir-print-local-scope
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\mlir\test\Conversion\GPUToROCDL\gpu-to-rocdl-barrier.mlir:12:3: error: 'gpu.barrier' op expected to be nested inside a gpu.func or gpu.launch region
# | gpu.barrier
# | ^
# | C:\_work\llvm-project\llvm-project\mlir\test\Conversion\GPUToROCDL\gpu-to-rocdl-barrier.mlir:12:3: note: see current operation: "gpu.barrier"() : () -> ()
# | C:\_work\llvm-project\llvm-project\mlir\test\Conversion\GPUToROCDL\gpu-to-rocdl-barrier.mlir:22:3: error: 'gpu.barrier' op expected to be nested inside a gpu.func or gpu.launch region
# | gpu.barrier memfence []
# | ^
# | C:\_work\llvm-project\llvm-project\mlir\test\Conversion\GPUToROCDL\gpu-to-rocdl-barrier.mlir:22:3: note: see current operation: "gpu.barrier"() <{address_spaces = []}> : () -> ()
# | C:\_work\llvm-project\llvm-project\mlir\test\Conversion\GPUToROCDL\gpu-to-rocdl-barrier.mlir:33:3: error: 'gpu.barrier' op expected to be nested inside a gpu.func or gpu.launch region
# | gpu.barrier memfence [#gpu.address_space<workgroup>]
# | ^
# | C:\_work\llvm-project\llvm-project\mlir\test\Conversion\GPUToROCDL\gpu-to-rocdl-barrier.mlir:33:3: note: see current operation: "gpu.barrier"() <{address_spaces = [#gpu.address_space<workgroup>]}> : () -> ()
# | C:\_work\llvm-project\llvm-project\mlir\test\Conversion\GPUToROCDL\gpu-to-rocdl-barrier.mlir:44:3: error: 'gpu.barrier' op expected to be nested inside a gpu.func or gpu.launch region
# | gpu.barrier memfence [#gpu.address_space<global>]
# | ^
# | C:\_work\llvm-project\llvm-project\mlir\test\Conversion\GPUToROCDL\gpu-to-rocdl-barrier.mlir:44:3: note: see current operation: "gpu.barrier"() <{address_spaces = [#gpu.address_space<global>]}> : () -> ()
# | C:\_work\llvm-project\llvm-project\mlir\test\Conversion\GPUToROCDL\gpu-to-rocdl-barrier.mlir:55:3: error: 'gpu.barrier' op expected to be nested inside a gpu.func or gpu.launch region
# | gpu.barrier memfence [#gpu.address_space<global>, #gpu.address_space<workgroup>]
# | ^
# | C:\_work\llvm-project\llvm-project\mlir\test\Conversion\GPUToROCDL\gpu-to-rocdl-barrier.mlir:55:3: note: see current operation: "gpu.barrier"() <{address_spaces = [#gpu.address_space<global>, #gpu.address_space<workgroup>]}> : () -> ()
# | C:\_work\llvm-project\llvm-project\mlir\test\Conversion\GPUToROCDL\gpu-to-rocdl-barrier.mlir:65:3: error: 'gpu.barrier' op expected to be nested inside a gpu.func or gpu.launch region
# | gpu.barrier memfence [#gpu.address_space<private>]
# | ^
# | C:\_work\llvm-project\llvm-project\mlir\test\Conversion\GPUToROCDL\gpu-to-rocdl-barrier.mlir:65:3: note: see current operation: "gpu.barrier"() <{address_spaces = [#gpu.address_space<private>]}> : () -> ()
# `-----------------------------
# error: command failed with exit status: 1
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' 'C:\_work\llvm-project\llvm-project\mlir\test\Conversion\GPUToROCDL\gpu-to-rocdl-barrier.mlir' --check-prefixes=CHECK,GFX9
# .---command stderr------------
# | FileCheck error: '<stdin>' is empty.
# | FileCheck command line: c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\mlir\test\Conversion\GPUToROCDL\gpu-to-rocdl-barrier.mlir --check-prefixes=CHECK,GFX9
# `-----------------------------
# error: command failed with exit status: 2
--
```
</details>
<details>
<summary>MLIR.Dialect/GPU/barrier-elimination.mlir</summary>
```
Exit Code: 2
Command Output (stdout):
--
# RUN: at line 1
c:\_work\llvm-project\llvm-project\build\bin\mlir-opt.exe C:\_work\llvm-project\llvm-project\mlir\test\Dialect\GPU\barrier-elimination.mlir --transform-interpreter | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\mlir\test\Dialect\GPU\barrier-elimination.mlir
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\mlir-opt.exe' 'C:\_work\llvm-project\llvm-project\mlir\test\Dialect\GPU\barrier-elimination.mlir' --transform-interpreter
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\mlir\test\Dialect\GPU\barrier-elimination.mlir:20:3: error: 'gpu.barrier' op expected to be nested inside a gpu.func or gpu.launch region
# | gpu.barrier
# | ^
# | C:\_work\llvm-project\llvm-project\mlir\test\Dialect\GPU\barrier-elimination.mlir:20:3: note: see current operation: "gpu.barrier"() : () -> ()
# | C:\_work\llvm-project\llvm-project\mlir\test\Dialect\GPU\barrier-elimination.mlir:39:3: error: 'gpu.barrier' op expected to be nested inside a gpu.func or gpu.launch region
# | gpu.barrier
# | ^
# | C:\_work\llvm-project\llvm-project\mlir\test\Dialect\GPU\barrier-elimination.mlir:39:3: note: see current operation: "gpu.barrier"() : () -> ()
# | C:\_work\llvm-project\llvm-project\mlir\test\Dialect\GPU\barrier-elimination.mlir:59:5: error: 'gpu.barrier' op expected to be nested inside a gpu.func or gpu.launch region
# | gpu.barrier
# | ^
# | C:\_work\llvm-project\llvm-project\mlir\test\Dialect\GPU\barrier-elimination.mlir:59:5: note: see current operation: "gpu.barrier"() : () -> ()
# | C:\_work\llvm-project\llvm-project\mlir\test\Dialect\GPU\barrier-elimination.mlir:74:5: error: 'gpu.barrier' op expected to be nested inside a gpu.func or gpu.launch region
# | gpu.barrier
# | ^
# | C:\_work\llvm-project\llvm-project\mlir\test\Dialect\GPU\barrier-elimination.mlir:74:5: note: see current operation: "gpu.barrier"() : () -> ()
# | C:\_work\llvm-project\llvm-project\mlir\test\Dialect\GPU\barrier-elimination.mlir:95:5: error: 'gpu.barrier' op expected to be nested inside a gpu.func or gpu.launch region
# | gpu.barrier
# | ^
# | C:\_work\llvm-project\llvm-project\mlir\test\Dialect\GPU\barrier-elimination.mlir:95:5: note: see current operation: "gpu.barrier"() : () -> ()
# | C:\_work\llvm-project\llvm-project\mlir\test\Dialect\GPU\barrier-elimination.mlir:120:5: error: 'gpu.barrier' op expected to be nested inside a gpu.func or gpu.launch region
# | gpu.barrier memfence []
# | ^
# | C:\_work\llvm-project\llvm-project\mlir\test\Dialect\GPU\barrier-elimination.mlir:120:5: note: see current operation: "gpu.barrier"() <{address_spaces = []}> : () -> ()
# | C:\_work\llvm-project\llvm-project\mlir\test\Dialect\GPU\barrier-elimination.mlir:146:3: error: 'gpu.barrier' op expected to be nested inside a gpu.func or gpu.launch region
# | gpu.barrier
# | ^
# | C:\_work\llvm-project\llvm-project\mlir\test\Dialect\GPU\barrier-elimination.mlir:146:3: note: see current operation: "gpu.barrier"() : () -> ()
# | C:\_work\llvm-project\llvm-project\mlir\test\Dialect\GPU\barrier-elimination.mlir:160:3: error: 'gpu.barrier' op expected to be nested inside a gpu.func or gpu.launch region
# | gpu.barrier
# | ^
# | C:\_work\llvm-project\llvm-project\mlir\test\Dialect\GPU\barrier-elimination.mlir:160:3: note: see current operation: "gpu.barrier"() : () -> ()
# | C:\_work\llvm-project\llvm-project\mlir\test\Dialect\GPU\barrier-elimination.mlir:171:3: error: 'gpu.barrier' op expected to be nested inside a gpu.func or gpu.launch region
# | gpu.barrier
# | ^
# | C:\_work\llvm-project\llvm-project\mlir\test\Dialect\GPU\barrier-elimination.mlir:171:3: note: see current operation: "gpu.barrier"() : () -> ()
# | C:\_work\llvm-project\llvm-project\mlir\test\Dialect\GPU\barrier-elimination.mlir:190:3: error: 'gpu.barrier' op expected to be nested inside a gpu.func or gpu.launch region
# | gpu.barrier
# | ^
# | C:\_work\llvm-project\llvm-project\mlir\test\Dialect\GPU\barrier-elimination.mlir:190:3: note: see current operation: "gpu.barrier"() : () -> ()
# | C:\_work\llvm-project\llvm-project\mlir\test\Dialect\GPU\barrier-elimination.mlir:225:7: error: 'gpu.barrier' op expected to be nested inside a gpu.func or gpu.launch region
# | gpu.barrier
# | ^
# | C:\_work\llvm-project\llvm-project\mlir\test\Dialect\GPU\barrier-elimination.mlir:225:7: note: see current operation: "gpu.barrier"() : () -> ()
# | C:\_work\llvm-project\llvm-project\mlir\test\Dialect\GPU\barrier-elimination.mlir:242:3: error: 'gpu.barrier' op expected to be nested inside a gpu.func or gpu.launch region
# | gpu.barrier memfence [#gpu.address_space<workgroup>]
# | ^
# | C:\_work\llvm-project\llvm-project\mlir\test\Dialect\GPU\barrier-elimination.mlir:242:3: note: see current operation: "gpu.barrier"() <{address_spaces = [#gpu.address_space<workgroup>]}> : () -> ()
# | C:\_work\llvm-project\llvm-project\mlir\test\Dialect\GPU\barrier-elimination.mlir:259:3: error: 'gpu.barrier' op expected to be nested inside a gpu.func or gpu.launch region
# | gpu.barrier memfence [#gpu.address_space<workgroup>]
# | ^
# | C:\_work\llvm-project\llvm-project\mlir\test\Dialect\GPU\barrier-elimination.mlir:259:3: note: see current operation: "gpu.barrier"() <{address_spaces = [#gpu.address_space<workgroup>]}> : () -> ()
# | C:\_work\llvm-project\llvm-project\mlir\test\Dialect\GPU\barrier-elimination.mlir:276:3: error: 'gpu.barrier' op expected to be nested inside a gpu.func or gpu.launch region
# | gpu.barrier memfence [#gpu.address_space<global>]
# | ^
# | C:\_work\llvm-project\llvm-project\mlir\test\Dialect\GPU\barrier-elimination.mlir:276:3: note: see current operation: "gpu.barrier"() <{address_spaces = [#gpu.address_space<global>]}> : () -> ()
# | C:\_work\llvm-project\llvm-project\mlir\test\Dialect\GPU\barrier-elimination.mlir:296:3: error: 'gpu.barrier' op expected to be nested inside a gpu.func or gpu.launch region
# | gpu.barrier memfence [#gpu.address_space<workgroup>]
# | ^
# | C:\_work\llvm-project\llvm-project\mlir\test\Dialect\GPU\barrier-elimination.mlir:296:3: note: see current operation: "gpu.barrier"() <{address_spaces = [#gpu.address_space<workgroup>]}> : () -> ()
# | C:\_work\llvm-project\llvm-project\mlir\test\Dialect\GPU\barrier-elimination.mlir:315:3: error: 'gpu.barrier' op expected to be nested inside a gpu.func or gpu.launch region
# | gpu.barrier memfence [#gpu.address_space<global>, #gpu.address_space<workgroup>]
# | ^
# | C:\_work\llvm-project\llvm-project\mlir\test\Dialect\GPU\barrier-elimination.mlir:315:3: note: see current operation: "gpu.barrier"() <{address_spaces = [#gpu.address_space<global>, #gpu.address_space<workgroup>]}> : () -> ()
# | C:\_work\llvm-project\llvm-project\mlir\test\Dialect\GPU\barrier-elimination.mlir:332:3: error: 'gpu.barrier' op expected to be nested inside a gpu.func or gpu.launch region
# | gpu.barrier
# | ^
# | C:\_work\llvm-project\llvm-project\mlir\test\Dialect\GPU\barrier-elimination.mlir:332:3: note: see current operation: "gpu.barrier"() : () -> ()
# | C:\_work\llvm-project\llvm-project\mlir\test\Dialect\GPU\barrier-elimination.mlir:342:3: error: 'gpu.barrier' op expected to be nested inside a gpu.func or gpu.launch region
# | gpu.barrier
# | ^
# | C:\_work\llvm-project\llvm-project\mlir\test\Dialect\GPU\barrier-elimination.mlir:342:3: note: see current operation: "gpu.barrier"() : () -> ()
# | C:\_work\llvm-project\llvm-project\mlir\test\Dialect\GPU\barrier-elimination.mlir:350:3: error: 'gpu.barrier' op expected to be nested inside a gpu.func or gpu.launch region
# | gpu.barrier memfence []
# | ^
# | C:\_work\llvm-project\llvm-project\mlir\test\Dialect\GPU\barrier-elimination.mlir:350:3: note: see current operation: "gpu.barrier"() <{address_spaces = []}> : () -> ()
# | C:\_work\llvm-project\llvm-project\mlir\test\Dialect\GPU\barrier-elimination.mlir:364:5: error: 'gpu.barrier' op expected to be nested inside a gpu.func or gpu.launch region
# | gpu.barrier memfence [#gpu.address_space<workgroup>]
# | ^
# | C:\_work\llvm-project\llvm-project\mlir\test\Dialect\GPU\barrier-elimination.mlir:364:5: note: see current operation: "gpu.barrier"() <{address_spaces = [#gpu.address_space<workgroup>]}> : () -> ()
# | C:\_work\llvm-project\llvm-project\mlir\test\Dialect\GPU\barrier-elimination.mlir:386:3: error: 'gpu.barrier' op expected to be nested inside a gpu.func or gpu.launch region
# | gpu.barrier memfence [#gpu.address_space<global>]
# | ^
# | C:\_work\llvm-project\llvm-project\mlir\test\Dialect\GPU\barrier-elimination.mlir:386:3: note: see current operation: "gpu.barrier"() <{address_spaces = [#gpu.address_space<global>]}> : () -> ()
# | C:\_work\llvm-project\llvm-project\mlir\test\Dialect\GPU\barrier-elimination.mlir:403:3: error: 'gpu.barrier' op expected to be nested inside a gpu.func or gpu.launch region
# | gpu.barrier memfence [#gpu.address_space<workgroup>]
# | ^
# | C:\_work\llvm-project\llvm-project\mlir\test\Dialect\GPU\barrier-elimination.mlir:403:3: note: see current operation: "gpu.barrier"() <{address_spaces = [#gpu.address_space<workgroup>]}> : () -> ()
# `-----------------------------
# error: command failed with exit status: 1
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' 'C:\_work\llvm-project\llvm-project\mlir\test\Dialect\GPU\barrier-elimination.mlir'
# .---command stderr------------
# | FileCheck error: '<stdin>' is empty.
# | FileCheck command line: c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\mlir\test\Dialect\GPU\barrier-elimination.mlir
# `-----------------------------
# error: command failed with exit status: 2
--
```
</details>
<details>
<summary>MLIR.Dialect/GPU/canonicalize.mlir</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 1
c:\_work\llvm-project\llvm-project\build\bin\mlir-opt.exe C:\_work\llvm-project\llvm-project\mlir\test\Dialect\GPU\canonicalize.mlir -canonicalize="test-convergence" --split-input-file -allow-unregistered-dialect | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\mlir\test\Dialect\GPU\canonicalize.mlir
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\mlir-opt.exe' 'C:\_work\llvm-project\llvm-project\mlir\test\Dialect\GPU\canonicalize.mlir' -canonicalize=test-convergence --split-input-file -allow-unregistered-dialect
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\mlir\test\Dialect\GPU\canonicalize.mlir:20:3: error: 'gpu.barrier' op expected to be nested inside a gpu.func or gpu.launch region
# | gpu.barrier
# | ^
# | C:\_work\llvm-project\llvm-project\mlir\test\Dialect\GPU\canonicalize.mlir:20:3: note: see current operation: "gpu.barrier"() : () -> ()
# | C:\_work\llvm-project\llvm-project\mlir\test\Dialect\GPU\canonicalize.mlir:29:3: error: 'gpu.barrier' op expected to be nested inside a gpu.func or gpu.launch region
# | gpu.barrier
# | ^
# | C:\_work\llvm-project\llvm-project\mlir\test\Dialect\GPU\canonicalize.mlir:29:3: note: see current operation: "gpu.barrier"() : () -> ()
# | C:\_work\llvm-project\llvm-project\mlir\test\Dialect\GPU\canonicalize.mlir:38:3: error: 'gpu.barrier' op expected to be nested inside a gpu.func or gpu.launch region
# | gpu.barrier memfence [#gpu.address_space<workgroup>]
# | ^
# | C:\_work\llvm-project\llvm-project\mlir\test\Dialect\GPU\canonicalize.mlir:38:3: note: see current operation: "gpu.barrier"() <{address_spaces = [#gpu.address_space<workgroup>]}> : () -> ()
# | C:\_work\llvm-project\llvm-project\mlir\test\Dialect\GPU\canonicalize.mlir:47:3: error: 'gpu.barrier' op expected to be nested inside a gpu.func or gpu.launch region
# | gpu.barrier memfence [#gpu.address_space<workgroup>]
# | ^
# | C:\_work\llvm-project\llvm-project\mlir\test\Dialect\GPU\canonicalize.mlir:47:3: note: see current operation: "gpu.barrier"() <{address_spaces = [#gpu.address_space<workgroup>]}> : () -> ()
# | C:\_work\llvm-project\llvm-project\mlir\test\Dialect\GPU\canonicalize.mlir:56:3: error: 'gpu.barrier' op expected to be nested inside a gpu.func or gpu.launch region
# | gpu.barrier memfence [#gpu.address_space<workgroup>]
# | ^
# | C:\_work\llvm-project\llvm-project\mlir\test\Dialect\GPU\canonicalize.mlir:56:3: note: see current operation: "gpu.barrier"() <{address_spaces = [#gpu.address_space<workgroup>]}> : () -> ()
# | C:\_work\llvm-project\llvm-project\mlir\test\Dialect\GPU\canonicalize.mlir:65:3: error: 'gpu.barrier' op expected to be nested inside a gpu.func or gpu.launch region
# | gpu.barrier memfence []
# | ^
# | C:\_work\llvm-project\llvm-project\mlir\test\Dialect\GPU\canonicalize.mlir:65:3: note: see current operation: "gpu.barrier"() <{address_spaces = []}> : () -> ()
# `-----------------------------
# error: command failed with exit status: 1
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' 'C:\_work\llvm-project\llvm-project\mlir\test\Dialect\GPU\canonicalize.mlir'
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\mlir\test\Dialect\GPU\canonicalize.mlir:16:17: error: CHECK-LABEL: expected string not found in input
# | // CHECK-LABEL: func @erase_barriers
# | ^
# | <stdin>:2:31: note: scanning from here
# | func.func @fold_wait_op_test1() {
# | ^
# | <stdin>:78:6: note: possible intended match here
# | func.func @memset_after_cast(%arg0: memref<10xf32>, %arg1: f32) {
# | ^
# |
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\mlir\test\Dialect\GPU\canonicalize.mlir
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | 1: module {
# | 2: func.func @fold_wait_op_test1() {
# | label:16'0 X~~~~ error: no match found
# | 3: return
# | label:16'0 ~~~~~~~~
# | 4: }
# | label:16'0 ~~~
# | 5: }
# | label:16'0 ~~
# | 6:
# | label:16'0 ~
# | 7: // -----
# | label:16'0 ~~~~~~~~~
# | .
# | .
# | .
# | 73: }
# | label:16'0 ~~~
# | 74: }
# | label:16'0 ~~
# | 75:
# | label:16'0 ~
# | 76: // -----
# | label:16'0 ~~~~~~~~~
# | 77: module {
# | label:16'0 ~~~~~~~~~
# | 78: func.func @memset_after_cast(%arg0: memref<10xf32>, %arg1: f32) {
# | label:16'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | label:16'1 ? possible intended match
# | 79: gpu.memset %arg0, %arg1 : memref<10xf32>, f32
# | label:16'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 80: return
# | label:16'0 ~~~~~~~~
# | 81: }
# | label:16'0 ~~~
# | 82: }
# | label:16'0 ~~
# | 83:
# | label:16'0 ~
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>MLIR.Dialect/GPU/subgroup-mma-vector-unroll.mlir</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 1
c:\_work\llvm-project\llvm-project\build\bin\mlir-opt.exe C:\_work\llvm-project\llvm-project\mlir\test\Dialect\GPU\subgroup-mma-vector-unroll.mlir --transform-interpreter --split-input-file | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\mlir\test\Dialect\GPU\subgroup-mma-vector-unroll.mlir
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\mlir-opt.exe' 'C:\_work\llvm-project\llvm-project\mlir\test\Dialect\GPU\subgroup-mma-vector-unroll.mlir' --transform-interpreter --split-input-file
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\mlir\test\Dialect\GPU\subgroup-mma-vector-unroll.mlir:80:5: error: 'gpu.barrier' op expected to be nested inside a gpu.func or gpu.launch region
# | gpu.barrier
# | ^
# | C:\_work\llvm-project\llvm-project\mlir\test\Dialect\GPU\subgroup-mma-vector-unroll.mlir:80:5: note: see current operation: "gpu.barrier"() : () -> ()
# `-----------------------------
# error: command failed with exit status: 1
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' 'C:\_work\llvm-project\llvm-project\mlir\test\Dialect\GPU\subgroup-mma-vector-unroll.mlir'
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\mlir\test\Dialect\GPU\subgroup-mma-vector-unroll.mlir:48:17: error: CHECK-LABEL: expected string not found in input
# | // CHECK-LABEL: func.func @gathered_matmul
# | ^
# | <stdin>:1:1: note: scanning from here
# | #map = affine_map<()[s0] -> (s0 * 16)>
# | ^
# | <stdin>:9:2: note: possible intended match here
# | func.func @matmul(%arg0: memref<32x32xf32>, %arg1: memref<32x32xf32>, %arg2: memref<32x32xf32>) {
# | ^
# |
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\mlir\test\Dialect\GPU\subgroup-mma-vector-unroll.mlir
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | 1: #map = affine_map<()[s0] -> (s0 * 16)>
# | label:48'0 X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
# | 2: #map1 = affine_map<()[s0] -> ((s0 floordiv 32) * 16)>
# | label:48'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 3: #map2 = affine_map<(d0)[s0] -> (d0 + s0)>
# | label:48'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 4: #map3 = affine_map<(d0) -> (d0 + 8)>
# | label:48'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 5: #map4 = affine_map<(d0, d1, d2) -> (d0, d2)>
# | label:48'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 6: #map5 = affine_map<(d0, d1, d2) -> (d2, d1)>
# | label:48'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 7: #map6 = affine_map<(d0, d1, d2) -> (d0, d1)>
# | label:48'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 8: module {
# | label:48'0 ~~~~~~~~~
# | 9: func.func @matmul(%arg0: memref<32x32xf32>, %arg1: memref<32x32xf32>, %arg2: memref<32x32xf32>) {
# | label:48'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | label:48'1 ? possible intended match
# | 10: %c0 = arith.constant 0 : index
# | label:48'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 11: %cst = arith.constant dense<0.000000e+00> : vector<16x16xf32>
# | label:48'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 12: %c16 = arith.constant 16 : index
# | label:48'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 13: %c32 = arith.constant 32 : index
# | label:48'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 14: %cst_0 = arith.constant 0.000000e+00 : f32
# | label:48'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>MLIR.Dialect/Linalg/promote.mlir</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 1
c:\_work\llvm-project\llvm-project\build\bin\mlir-opt.exe C:\_work\llvm-project\llvm-project\mlir\test\Dialect\Linalg\promote.mlir -transform-interpreter -split-input-file | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\mlir\test\Dialect\Linalg\promote.mlir
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\mlir-opt.exe' 'C:\_work\llvm-project\llvm-project\mlir\test\Dialect\Linalg\promote.mlir' -transform-interpreter -split-input-file
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\mlir\test\Dialect\Linalg\promote.mlir:148:4: error: 'gpu.barrier' op expected to be nested inside a gpu.func or gpu.launch region
# | linalg.matmul ins(%a, %b: memref<?x?xf32>, memref<?x?xf32>)
# | ^
# | C:\_work\llvm-project\llvm-project\mlir\test\Dialect\Linalg\promote.mlir:148:4: note: see current operation: "gpu.barrier"() : () -> ()
# `-----------------------------
# error: command failed with exit status: 1
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' 'C:\_work\llvm-project\llvm-project\mlir\test\Dialect\Linalg\promote.mlir'
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\mlir\test\Dialect\Linalg\promote.mlir:153:11: error: CHECK: expected string not found in input
# | // CHECK: func @gemm_shared
# | ^
# | <stdin>:144:42: note: scanning from here
# | memref.dealloc %alloc_38 : memref<48xi8>
# | ^
# | <stdin>:164:7: note: possible intended match here
# | func.func @gemm_private(%arg0: memref<?x?xf32>, %arg1: memref<?x?xf32>, %arg2: memref<?x?xf32>) {
# | ^
# |
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\mlir\test\Dialect\Linalg\promote.mlir
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 139: linalg.copy ins(%subview_5 : memref<?x?xf64, strided<[?, 1], offset: ?>>) outs(%subview_40 : memref<?x?xf64, strided<[?, 1]>>)
# | 140: linalg.matmul ins(%subview_16, %subview_28 : memref<?x?xf64, strided<[?, 1]>>, memref<?x?xf64, strided<[?, 1]>>) outs(%subview_40 : memref<?x?xf64, strided<[?, 1]>>)
# | 141: linalg.copy ins(%subview_40 : memref<?x?xf64, strided<[?, 1]>>) outs(%subview_5 : memref<?x?xf64, strided<[?, 1], offset: ?>>)
# | 142: memref.dealloc %alloc : memref<64xi8>
# | 143: memref.dealloc %alloc_26 : memref<96xi8>
# | 144: memref.dealloc %alloc_38 : memref<48xi8>
# | check:153'0 X error: no match found
# | 145: }
# | check:153'0 ~~~
# | 146: }
# | check:153'0 ~~~
# | 147: }
# | check:153'0 ~~~
# | 148: return
# | check:153'0 ~~~~~~~~
# | 149: }
# | check:153'0 ~~~
# | .
# | .
# | .
# | 159: // -----
# | check:153'0 ~~~~~~~~~
# | 160: // -----
# | check:153'0 ~~~~~~~~~
# | 161: #map = affine_map<(d0)[s0] -> (-d0 + s0, 16)>
# | check:153'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 162: #map1 = affine_map<(d0) -> (d0 - 1)>
# | check:153'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 163: module {
# | check:153'0 ~~~~~~~~~
# | 164: func.func @gemm_private(%arg0: memref<?x?xf32>, %arg1: memref<?x?xf32>, %arg2: memref<?x?xf32>) {
# | check:153'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | check:153'1 ? possible intended match
# | 165: %alloca = memref.alloca() : memref<16x16xf32, #gpu.address_space<private>>
# | check:153'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 166: %alloca_0 = memref.alloca() : memref<16x16xf32, #gpu.address_space<private>>
# | check:153'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 167: %c0 = arith.constant 0 : index
# | check:153'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 168: %dim = memref.dim %arg0, %c0 : memref<?x?xf32>
# | check:153'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 169: %c1 = arith.constant 1 : index
# | check:153'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>MLIR.Dialect/Vector/vector-warp-distribute.mlir</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 1
c:\_work\llvm-project\llvm-project\build\bin\mlir-opt.exe C:\_work\llvm-project\llvm-project\mlir\test\Dialect\Vector\vector-warp-distribute.mlir --allow-unregistered-dialect --split-input-file --test-vector-warp-distribute=rewrite-warp-ops-to-scf-if | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\mlir\test\Dialect\Vector\vector-warp-distribute.mlir --check-prefix=CHECK-SCF-IF
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\mlir-opt.exe' 'C:\_work\llvm-project\llvm-project\mlir\test\Dialect\Vector\vector-warp-distribute.mlir' --allow-unregistered-dialect --split-input-file --test-vector-warp-distribute=rewrite-warp-ops-to-scf-if
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\mlir\test\Dialect\Vector\vector-warp-distribute.mlir:47:10: error: 'gpu.barrier' op expected to be nested inside a gpu.func or gpu.launch region
# | %r:2 = gpu.warp_execute_on_lane_0(%laneid)[32]
# | ^
# | C:\_work\llvm-project\llvm-project\mlir\test\Dialect\Vector\vector-warp-distribute.mlir:47:10: note: see current operation: "gpu.barrier"() <{address_spaces = [#gpu.address_space<workgroup>]}> : () -> ()
# | C:\_work\llvm-project\llvm-project\mlir\test\Dialect\Vector\vector-warp-distribute.mlir:230:10: error: 'gpu.barrier' op expected to be nested inside a gpu.func or gpu.launch region
# | %r:3 = gpu.warp_execute_on_lane_0(%laneid)[32] ->
# | ^
# | C:\_work\llvm-project\llvm-project\mlir\test\Dialect\Vector\vector-warp-distribute.mlir:230:10: note: see current operation: "gpu.barrier"() <{address_spaces = [#gpu.address_space<workgroup>]}> : () -> ()
# | C:\_work\llvm-project\llvm-project\mlir\test\Dialect\Vector\vector-warp-distribute.mlir:248:8: error: 'gpu.barrier' op expected to be nested inside a gpu.func or gpu.launch region
# | %r = gpu.warp_execute_on_lane_0(%laneid)[32]
# | ^
# | C:\_work\llvm-project\llvm-project\mlir\test\Dialect\Vector\vector-warp-distribute.mlir:248:8: note: see current operation: "gpu.barrier"() <{address_spaces = [#gpu.address_space<workgroup>]}> : () -> ()
# | C:\_work\llvm-project\llvm-project\mlir\test\Dialect\Vector\vector-warp-distribute.mlir:267:10: error: 'gpu.barrier' op expected to be nested inside a gpu.func or gpu.launch region
# | %r:2 = gpu.warp_execute_on_lane_0(%laneid)[32] ->
# | ^
# | C:\_work\llvm-project\llvm-project\mlir\test\Dialect\Vector\vector-warp-distribute.mlir:267:10: note: see current operation: "gpu.barrier"() <{address_spaces = [#gpu.address_space<workgroup>]}> : () -> ()
# | C:\_work\llvm-project\llvm-project\mlir\test\Dialect\Vector\vector-warp-distribute.mlir:302:8: error: 'gpu.barrier' op expected to be nested inside a gpu.func or gpu.launch region
# | %r = gpu.warp_execute_on_lane_0(%laneid)[32] -> (f32) {
# | ^
# | C:\_work\llvm-project\llvm-project\mlir\test\Dialect\Vector\vector-warp-distribute.mlir:302:8: note: see current operation: "gpu.barrier"() <{address_spaces = [#gpu.address_space<workgroup>]}> : () -> ()
# | C:\_work\llvm-project\llvm-project\mlir\test\Dialect\Vector\vector-warp-distribute.mlir:319:8: error: 'gpu.barrier' op expected to be nested inside a gpu.func or gpu.launch region
# | %r = gpu.warp_execute_on_lane_0(%laneid)[32] -> (f32) {
# | ^
# | C:\_work\llvm-project\llvm-project\mlir\test\Dialect\Vector\vector-warp-distribute.mlir:319:8: note: see current operation: "gpu.barrier"() <{address_spaces = [#gpu.address_space<workgroup>]}> : () -> ()
# | C:\_work\llvm-project\llvm-project\mlir\test\Dialect\Vector\vector-warp-distribute.mlir:344:10: error: 'gpu.barrier' op expected to be nested inside a gpu.func or gpu.launch region
# | %r:2 = gpu.warp_execute_on_lane_0(%laneid)[32] ->(vector<1xf32>, vector<2xf32>) {
# | ^
# | C:\_work\llvm-project\llvm-project\mlir\test\Dialect\Vector\vector-warp-distribute.mlir:344:10: note: see current operation: "gpu.barrier"() <{address_spaces = [#gpu.address_space<workgroup>]}> : () -> ()
# | C:\_work\llvm-project\llvm-project\mlir\test\Dialect\Vector\vector-warp-distribute.mlir:363:8: error: 'gpu.barrier' op expected to be nested inside a gpu.func or gpu.launch region
# | %r = gpu.warp_execute_on_lane_0(%laneid)[32] -> (vector<1xf32>) {
# | ^
# | C:\_work\llvm-project\llvm-project\mlir\test\Dialect\Vector\vector-warp-distribute.mlir:363:8: note: see current operation: "gpu.barrier"() <{address_spaces = [#gpu.address_space<workgroup>]}> : () -> ()
# | C:\_work\llvm-project\llvm-project\mlir\test\Dialect\Vector\vector-warp-distribute.mlir:381:8: error: 'gpu.barrier' op expected to be nested inside a gpu.func or gpu.launch region
# | %r = gpu.warp_execute_on_lane_0(%laneid)[32] -> (vector<2xf32>) {
# | ^
# | C:\_work\llvm-project\llvm-project\mlir\test\Dialect\Vector\vector-warp-distribute.mlir:381:8: note: see current operation: "gpu.barrier"() <{address_spaces = [#gpu.address_space<workgroup>]}> : () -> ()
# | C:\_work\llvm-project\llvm-project\mlir\test\Dialect\Vector\vector-warp-distribute.mlir:399:8: error: 'gpu.barrier' op expected to be nested inside a gpu.func or gpu.launch region
# | %r = gpu.warp_execute_on_lane_0(%laneid)[32] -> (vector<2xf32>) {
# | ^
# | C:\_work\llvm-project\llvm-project\mlir\test\Dialect\Vector\vector-warp-distribute.mlir:399:8: note: see current operation: "gpu.barrier"() <{address_spaces = [#gpu.address_space<workgroup>]}> : () -> ()
# | C:\_work\llvm-project\llvm-project\mlir\test\Dialect\Vector\vector-warp-distribute.mlir:429:8: error: 'gpu.barrier' op expected to be nested inside a gpu.func or gpu.launch region
# | %0 = gpu.warp_execute_on_lane_0(%arg0)[32] -> (vector<4xf32>) {
# | ^
# | C:\_work\llvm-project\llvm-project\mlir\test\Dialect\Vector\vector-warp-distribute.mlir:429:8: note: see current operation: "gpu.barrier"() <{address_spaces = [#gpu.address_space<workgroup>]}> : () -> ()
# | C:\_work\llvm-project\llvm-project\mlir\test\Dialect\Vector\vector-warp-distribute.mlir:463:8: error: 'gpu.barrier' op expected to be nested inside a gpu.func or gpu.launch region
# | %0 = gpu.warp_execute_on_lane_0(%arg0)[32] -> (vector<4xf32>) {
# | ^
# | C:\_work\llvm-project\llvm-project\mlir\test\Dialect\Vector\vector-warp-distribute.mlir:463:8: note: see current operation: "gpu.barrier"() <{address_spaces = [#gpu.address_space<workgroup>]}> : () -> ()
# | C:\_work\llvm-project\llvm-project\mlir\test\Dialect\Vector\vector-warp-distribute.mlir:497:8: error: 'gpu.barrier' op expected to be nested inside a gpu.func or gpu.launch region
# | %0 = gpu.warp_execute_on_lane_0(%arg0)[32]
# | ^
# | C:\_work\llvm-project\llvm-project\mlir\test\Dialect\Vector\vector-warp-distribute.mlir:497:8: note: see current operation: "gpu.barrier"() <{address_spaces = [#gpu.address_space<workgroup>]}> : () -> ()
# | C:\_work\llvm-project\llvm-project\mlir\test\Dialect\Vector\vector-warp-distribute.mlir:534:10: error: 'gpu.barrier' op expected to be nested inside a gpu.func or gpu.launch region
# | %0:2 = gpu.warp_execute_on_lane_0(%arg0)[32] -> (vector<4xf32>, vector<4xf32>) {
# | ^
# | C:\_work\llvm-project\llvm-project\mlir\test\Dialect\Vector\vector-warp-distribute.mlir:534:10: note: see current operation: "gpu.barrier"() <{address_spaces = [#gpu.address_space<workgroup>]}> : () -> ()
# | C:\_work\llvm-project\llvm-project\mlir\test\Dialect\Vector\vector-warp-distribute.mlir:587:8: error: 'gpu.barrier' op expected to be nested inside a gpu.func or gpu.launch region
# | %2 = gpu.warp_execute_on_lane_0(%arg0)[32] -> (vector<1xf32>) {
# | ^
# | C:\_work\llvm-project\llvm-project\mlir\test\Dialect\Vector\vector-warp-distribute.mlir:587:8: note: see current operation: "gpu.barrier"() <{address_spaces = [#gpu.address_space<workgroup>]}> : () -> ()
# | C:\_work\llvm-project\llvm-project\mlir\test\Dialect\Vector\vector-warp-distribute.mlir:626:10: error: 'gpu.barrier' op expected to be nested inside a gpu.func or gpu.launch region
# | %0:3 = gpu.warp_execute_on_lane_0(%arg0)[32] ->
# | ^
# | C:\_work\llvm-project\llvm-project\mlir\test\Dialect\Vector\vector-warp-distribute.mlir:626:10: note: see current operation: "gpu.barrier"() <{address_spaces = [#gpu.address_space<workgroup>]}> : () -> ()
# | C:\_work\llvm-project\llvm-project\mlir\test\Dialect\Vector\vector-warp-distribute.mlir:671:8: error: 'gpu.barrier' op expected to be nested inside a gpu.func or gpu.launch region
# | %0 = gpu.warp_execute_on_lane_0(%arg0)[32] -> (vector<4xf32>) {
# | ^
# | C:\_work\llvm-project\llvm-project\mlir\test\Dialect\Vector\vector-warp-distribute.mlir:671:8: note: see current operation: "gpu.barrier"() <{address_spaces = [#gpu.address_space<workgroup>]}> : () -> ()
# | C:\_work\llvm-project\llvm-project\mlir\test\Dialect\Vector\vector-warp-distribute.mlir:712:10: error: 'gpu.barrier' op expected to be nested inside a gpu.func or gpu.launch region
# | %0:3 = gpu.warp_execute_on_lane_0(%arg0)[32] -> (vector<4xf32>, vector<4xf32>, vector<8xf32>) {
# | ^
# | C:\_work\llvm-project\llvm-project\mlir\test\Dialect\Vector\vector-warp-distribute.mlir:712:10: note: see current operation: "gpu.barrier"() <{address_spaces = [#gpu.address_space<workgroup>]}> : () -> ()
# | C:\_work\llvm-project\llvm-project\mlir\test\Dialect\Vector\vector-warp-distribute.mlir:756:8: error: 'gpu.barrier' op expected to be nested inside a gpu.func or gpu.launch region
# | %r = gpu.warp_execute_on_lane_0(%laneid)[32] -> (f32) {
# | ^
# | C:\_work\llvm-project\llvm-project\mlir\test\Dialect\Vector\vector-warp-distribute.mlir:756:8: note: see current operation: "gpu.barrier"() <{address_spaces = [#gpu.address_space<workgroup>]}> : () -> ()
# | C:\_work\llvm-project\llvm-project\mlir\test\Dialect\Vector\vector-warp-distribute.mlir:844:8: error: 'gpu.barrier' op expected to be nested inside a gpu.func or gpu.launch region
# | %r = gpu.warp_execute_on_lane_0(%laneid)[32] -> (f32) {
# | ^
# | C:\_work\llvm-project\llvm-project\mlir\test\Dialect\Vector\vector-warp-distribute.mlir:844:8: note: see current operation: "gpu.barrier"() <{address_spaces = [#gpu.address_space<workgroup>]}> : () -> ()
# | C:\_work\llvm-project\llvm-project\mlir\test\Dialect\Vector\vector-warp-distribute.mlir:879:8: error: 'gpu.barrier' op expected to be nested inside a gpu.func or gpu.launch region
# | %r = gpu.warp_execute_on_lane_0(%laneid)[32] -> (f32) {
# | ^
# | C:\_work\llvm-project\llvm-project\mlir\test\Dialect\Vector\vector-warp-distribute.mlir:879:8: note: see current operation: "gpu.barrier"() <{address_spaces = [#gpu.address_space<workgroup>]}> : () -> ()
# | C:\_work\llvm-project\llvm-project\mlir\test\Dialect\Vector\vector-warp-distribute.mlir:893:10: error: 'gpu.barrier' op expected to be nested inside a gpu.func or gpu.launch region
# | %r:2 = gpu.warp_execute_on_lane_0(%laneid)[32] -> (vector<1xf32>, vector<1xf32>) {
# | ^
# | C:\_work\llvm-project\llvm-project\mlir\test\Dialect\Vector\vector-warp-distribute.mlir:893:10: note: see current operation: "gpu.barrier"() <{address_spaces = [#gpu.address_space<workgroup>]}> : () -> ()
# | C:\_work\llvm-project\llvm-project\mlir\test\Dialect\Vector\vector-warp-distribute.mlir:911:8: error: 'gpu.barrier' op expected to be nested inside a gpu.func or gpu.launch region
# | %r = gpu.warp_execute_on_lane_0(%laneid)[32] -> (vector<1xf32>) {
# | ^
# | C:\_work\llvm-project\llvm-project\mlir\test\Dialect\Vector\vector-warp-distribute.mlir:911:8: note: see current operation: "gpu.barrier"() <{address_spaces = [#gpu.address_space<workgroup>]}> : () -> ()
# | C:\_work\llvm-project\llvm-project\mlir\test\Dialect\Vector\vector-warp-distribute.mlir:932:8: error: 'gpu.barrier' op expected to be nested inside a gpu.func or gpu.launch region
# | %r = gpu.warp_execute_on_lane_0(%laneid)[32] -> (f32) {
# | ^
# | C:\_work\llvm-project\llvm-project\mlir\test\Dialect\Vector\vector-warp-distribute.mlir:932:8: note: see current operation: "gpu.barrier"() <{address_spaces = [#gpu.address_space<workgroup>]}> : () -> ()
# | C:\_work\llvm-project\llvm-project\mlir\test\Dialect\Vector\vector-warp-distribute.mlir:950:8: error: 'gpu.barrier' op expected to be nested inside a gpu.func or gpu.launch region
# | %r = gpu.warp_execute_on_lane_0(%laneid)[32] -> (vector<3xf32>) {
# | ^
# | C:\_work\llvm-project\llvm-project\mlir\test\Dialect\Vector\vector-warp-distribute.mlir:950:8: note: see current operation: "gpu.barrier"() <{address_spaces = [#gpu.address_space<workgroup>]}> : () -> ()
# | C:\_work\llvm-project\llvm-project\mlir\test\Dialect\Vector\vector-warp-distribute.mlir:968:8: error: 'gpu.barrier' op expected to be nested inside a gpu.func or gpu.launch region
# | %r = gpu.warp_execute_on_lane_0(%laneid)[32] -> (f32) {
# | ^
# | C:\_work\llvm-project\llvm-project\mlir\test\Dialect\Vector\vector-warp-distribute.mlir:968:8: note: see current operation: "gpu.barrier"() <{address_spaces = [#gpu.address_space<workgroup>]}> : () -> ()
# | C:\_work\llvm-project\llvm-project\mlir\test\Dialect\Vector\vector-warp-distribute.mlir:986:8: error: 'gpu.barrier' op expected to be nested inside a gpu.func or gpu.launch region
# | %r = gpu.warp_execute_on_lane_0(%laneid)[32] -> (vector<96xf32>) {
# | ^
# | C:\_work\llvm-project\llvm-project\mlir\test\Dialect\Vector\vector-warp-distribute.mlir:986:8: note: see current operation: "gpu.barrier"() <{address_spaces = [#gpu.address_space<workgroup>]}> : () -> ()
# | C:\_work\llvm-project\llvm-project\mlir\test\Dialect\Vector\vector-warp-distribute.mlir:1004:8: error: 'gpu.barrier' op expected to be nested inside a gpu.func or gpu.launch region
# | %r = gpu.warp_execute_on_lane_0(%laneid)[32] -> (vector<4x96xf32>) {
# | ^
# | C:\_work\llvm-project\llvm-project\mlir\test\Dialect\Vector\vector-warp-distribute.mlir:1004:8: note: see current operation: "gpu.barrier"() <{address_spaces = [#gpu.address_space<workgroup>]}> : () -> ()
# | C:\_work\llvm-project\llvm-project\mlir\test\Dialect\Vector\vector-warp-distribute.mlir:1022:8: error: 'gpu.barrier' op expected to be nested inside a gpu.func or gpu.launch region
# | %r = gpu.warp_execute_on_lane_0(%laneid)[32] -> (f32) {
# | ^
# | C:\_work\llvm-project\llvm-project\mlir\test\Dialect\Vector\vector-warp-distribute.mlir:1022:8: note: see current operation: "gpu.barrier"() <{address_spaces = [#gpu.address_space<workgroup>]}> : () -> ()
# | C:\_work\llvm-project\llvm-project\mlir\test\Dialect\Vector\vector-warp-distribute.mlir:1040:8: error: 'gpu.barrier' op expected to be nested inside a gpu.func or gpu.launch region
# | %r = gpu.warp_execute_on_lane_0(%laneid)[32] -> (f32) {
# | ^
# | C:\_work\llvm-project\llvm-project\mlir\test\Dialect\Vector\vector-warp-distribute.mlir:1040:8: note: see current operation: "gpu.barrier"() <{address_spaces = [#gpu.address_space<workgroup>]}> : () -> ()
# | C:\_work\llvm-project\llvm-project\mlir\test\Dialect\Vector\vector-warp-distribute.mlir:1067:8: error: 'gpu.barrier' op expected to be nested inside a gpu.func or gpu.launch region
# | %r = gpu.warp_execute_on_lane_0(%laneid)[32] -> (f32) {
# | ^
# | C:\_work\llvm-project\llvm-project\mlir\test\Dialect\Vector\vector-warp-distribute.mlir:1067:8: note: see current operation: "gpu.barrier"() <{address_spaces = [#gpu.address_space<workgroup>]}> : () -> ()
# | C:\_work\llvm-project\llvm-project\mlir\test\Dialect\Vector\vector-warp-distribute.mlir:1086:8: error: 'gpu.barrier' op expected to be nested inside a gpu.func or gpu.launch region
# | %r = gpu.warp_execute_on_lane_0(%laneid)[32] -> (index) {
# | ^
# | C:\_work\llvm-project\llvm-project\mlir\test\Dialect\Vector\vector-warp-distribute.mlir:1086:8: note: see current operation: "gpu.barrier"() <{address_spaces = [#gpu.address_space<workgroup>]}> : () -> ()
# | C:\_work\llvm-project\llvm-project\mlir\test\Dialect\Vector\vector-warp-distribute.mlir:1106:8: error: 'gpu.barrier' op expected to be nested inside a gpu.func or gpu.launch region
# | %r = gpu.warp_execute_on_lane_0(%laneid)[32] -> (vector<1x1xf32>) {
# | ^
# | C:\_work\llvm-project\llvm-project\mlir\test\Dialect\Vector\vector-warp-distribute.mlir:1106:8: note: see current operation: "gpu.barrier"() <{address_spaces = [#gpu.address_space<workgroup>]}> : () -> ()
# | C:\_work\llvm-project\llvm-project\mlir\test\Dialect\Vector\vector-warp-distribute.mlir:1119:8: error: 'gpu.barrier' op expected to be nested inside a gpu.func or gpu.launch region
# | %r = gpu.warp_execute_on_lane_0(%laneid)[1024] -> (vector<1x1x4xf32>) {
# | ^
# | C:\_work\llvm-project\llvm-project\mlir\test\Dialect\Vector\vector-warp-distribute.mlir:1119:8: note: see current operation: "gpu.barrier"() <{address_spaces = [#gpu.address_space<workgroup>]}> : () -> ()
# | C:\_work\llvm-project\llvm-project\mlir\test\Dialect\Vector\vector-warp-distribute.mlir:1142:8: error: 'gpu.barrier' op expected to be nested inside a gpu.func or gpu.launch region
# | %r = gpu.warp_execute_on_lane_0(%laneid)[512] -> (vector<1x4xf32>) {
# | ^
# | C:\_work\llvm-project\llvm-project\mlir\test\Dialect\Vector\vector-warp-distribute.mlir:1142:8: note: see current operation: "gpu.barrier"() <{address_spaces = [#gpu.address_space<workgroup>]}> : () -> ()
# | C:\_work\llvm-project\llvm-project\mlir\test\Dialect\Vector\vector-warp-distribute.mlir:1169:8: error: 'gpu.barrier' op expected to be nested inside a gpu.func or gpu.launch region
# | %r = gpu.warp_execute_on_lane_0(%laneid)[32] -> (vector<1xf32>) {
# | ^
# | C:\_work\llvm-project\llvm-project\mlir\test\Dialect\Vector\vector-warp-distribute.mlir:1169:8: note: see current operation: "gpu.barrier"() <{address_spaces = [#gpu.address_space<workgroup>]}> : () -> ()
# | C:\_work\llvm-project\llvm-project\mlir\test\Dialect\Vector\vector-warp-distribute.mlir:1184:10: error: 'gpu.barrier' op expected to be nested inside a gpu.func or gpu.launch region
# | %r:2 = gpu.warp_execute_on_lane_0(%laneid)[32]
# | ^
# | C:\_work\llvm-project\llvm-project\mlir\test\Dialect\Vector\vector-warp-distribute.mlir:1184:10: note: see current operation: "gpu.barrier"() <{address_spaces = [#gpu.address_space<workgroup>]}> : () -> ()
# | C:\_work\llvm-project\llvm-project\mlir\test\Dialect\Vector\vector-warp-distribute.mlir:1207:10: error: 'gpu.barrier' op expected to be nested inside a gpu.func or gpu.launch region
# | %r:4 = gpu.warp_execute_on_lane_0(%laneid)[32]
# | ^
# | C:\_work\llvm-project\llvm-project\mlir\test\Dialect\Vector\vector-warp-distribute.mlir:1207:10: note: see current operation: "gpu.barrier"() <{address_spaces = [#gpu.address_space<workgroup>]}> : () -> ()
# | C:\_work\llvm-project\llvm-project\mlir\test\Dialect\Vector\vector-warp-distribute.mlir:1258:10: error: 'gpu.barrier' op expected to be nested inside a gpu.func or gpu.launch region
# | %r:2 = gpu.warp_execute_on_lane_0(%laneid)[32]
# | ^
# | C:\_work\llvm-project\llvm-project\mlir\test\Dialect\Vector\vector-warp-distribute.mlir:1258:10: note: see current operation: "gpu.barrier"() <{address_spaces = [#gpu.address_space<workgroup>]}> : () -> ()
# | C:\_work\llvm-project\llvm-project\mlir\test\Dialect\Vector\vector-warp-distribute.mlir:1302:8: error: 'gpu.barrier' op expected to be nested inside a gpu.func or gpu.launch region
# | %r = gpu.warp_execute_on_lane_0(%laneid)[32] -> (vector<3xf32>) {
# | ^
# | C:\_work\llvm-project\llvm-project\mlir\test\Dialect\Vector\vector-warp-distribute.mlir:1302:8: note: see current operation: "gpu.barrier"() <{address_spaces = [#gpu.address_space<workgroup>]}> : () -> ()
# | C:\_work\llvm-project\llvm-project\mlir\test\Dialect\Vector\vector-warp-distribute.mlir:1321:8: error: 'gpu.barrier' op expected to be nested inside a gpu.func or gpu.launch region
# | %r = gpu.warp_execute_on_lane_0(%laneid)[32] -> (vector<96xf32>) {
# | ^
# | C:\_work\llvm-project\llvm-project\mlir\test\Dialect\Vector\vector-warp-distribute.mlir:1321:8: note: see current operation: "gpu.barrier"() <{address_spaces = [#gpu.address_space<workgroup>]}> : () -> ()
# | C:\_work\llvm-project\llvm-project\mlir\test\Dialect\Vector\vector-warp-distribute.mlir:1339:8: error: 'gpu.barrier' op expected to be nested inside a gpu.func or gpu.launch region
# | %r = gpu.warp_execute_on_lane_0(%laneid)[32] -> (vector<f32>) {
# | ^
# | C:\_work\llvm-project\llvm-project\mlir\test\Dialect\Vector\vector-warp-distribute.mlir:1339:8: note: see current operation: "gpu.barrier"() <{address_spaces = [#gpu.address_space<workgroup>]}> : () -> ()
# | C:\_work\llvm-project\llvm-project\mlir\test\Dialect\Vector\vector-warp-distribute.mlir:1366:8: error: 'gpu.barrier' op expected to be nested inside a gpu.func or gpu.launch region
# | %r = gpu.warp_execute_on_lane_0(%laneid)[32] -> (vector<3xf32>) {
# | ^
# | C:\_work\llvm-project\llvm-project\mlir\test\Dialect\Vector\vector-warp-distribute.mlir:1366:8: note: see current operation: "gpu.barrier"() <{address_spaces = [#gpu.address_space<workgroup>]}> : () -> ()
# | C:\_work\llvm-project\llvm-project\mlir\test\Dialect\Vector\vector-warp-distribute.mlir:1386:8: error: 'gpu.barrier' op expected to be nested inside a gpu.func or gpu.launch region
# | %r = gpu.warp_execute_on_lane_0(%laneid)[32] -> (vector<4x3xf32>) {
# | ^
# | C:\_work\llvm-project\llvm-project\mlir\test\Dialect\Vector\vector-warp-distribute.mlir:1386:8: note: see current operation: "gpu.barrier"() <{address_spaces = [#gpu.address_space<workgroup>]}> : () -> ()
# | C:\_work\llvm-project\llvm-project\mlir\test\Dialect\Vector\vector-warp-distribute.mlir:1413:8: error: 'gpu.barrier' op expected to be nested inside a gpu.func or gpu.launch region
# | %r = gpu.warp_execute_on_lane_0(%laneid)[32] -> (vector<4x96xf32>) {
# | ^
# | C:\_work\llvm-project\llvm-project\mlir\test\Dialect\Vector\vector-warp-distribute.mlir:1413:8: note: see current operation: "gpu.barrier"() <{address_spaces = [#gpu.address_space<workgroup>]}> : () -> ()
# | C:\_work\llvm-project\llvm-project\mlir\test\Dialect\Vector\vector-warp-distribute.mlir:1433:8: error: 'gpu.barrier' op expected to be nested inside a gpu.func or gpu.launch region
# | %r = gpu.warp_execute_on_lane_0(%laneid)[32] -> (vector<4x96xf32>) {
# | ^
# | C:\_work\llvm-project\llvm-project\mlir\test\Dialect\Vector\vector-warp-distribute.mlir:1433:8: note: see current operation: "gpu.barrier"() <{address_spaces = [#gpu.address_space<workgroup>]}> : () -> ()
# | C:\_work\llvm-project\llvm-project\mlir\test\Dialect\Vector\vector-warp-distribute.mlir:1452:8: error: 'gpu.barrier' op expected to be nested inside a gpu.func or gpu.launch region
# | %r = gpu.warp_execute_on_lane_0(%laneid)[32] -> (vector<24x1xf32>) {
# | ^
# | C:\_work\llvm-project\llvm-project\mlir\test\Dialect\Vector\vector-warp-distribute.mlir:1452:8: note: see current operation: "gpu.barrier"() <{address_spaces = [#gpu.address_space<workgroup>]}> : () -> ()
# | C:\_work\llvm-project\llvm-project\mlir\test\Dialect\Vector\vector-warp-distribute.mlir:1471:8: error: 'gpu.barrier' op expected to be nested inside a gpu.func or gpu.launch region
# | %r = gpu.warp_execute_on_lane_0(%laneid)[32] -> (vector<1x8xf32>) {
# | ^
# | C:\_work\llvm-project\llvm-project\mlir\test\Dialect\Vector\vector-warp-distribute.mlir:1471:8: note: see current operation: "gpu.barrier"() <{address_spaces = [#gpu.address_space<workgroup>]}> : () -> ()
# | C:\_work\llvm-project\llvm-project\mlir\test\Dialect\Vector\vector-warp-distribute.mlir:1491:8: error: 'gpu.barrier' op expected to be nested inside a gpu.func or gpu.launch region
# | %r = gpu.warp_execute_on_lane_0(%laneid)[32] -> (vector<64x1xf32>) {
# | ^
# | C:\_work\llvm-project\llvm-project\mlir\test\Dialect\Vector\vector-warp-distribute.mlir:1491:8: note: see current operation: "gpu.barrier"() <{address_spaces = [#gpu.address_space<workgroup>]}> : () -> ()
# | C:\_work\llvm-project\llvm-project\mlir\test\Dialect\Vector\vector-warp-distribute.mlir:1512:8: error: 'gpu.barrier' op expected to be nested inside a gpu.func or gpu.launch region
# | %r = gpu.warp_execute_on_lane_0(%laneid)[32] -> (vector<64x1xf32>) {
# | ^
# | C:\_work\llvm-project\llvm-project\mlir\test\Dialect\Vector\vector-warp-distribute.mlir:1512:8: note: see current operation: "gpu.barrier"() <{address_spaces = [#gpu.address_space<workgroup>]}> : () -> ()
# | C:\_work\llvm-project\llvm-project\mlir\test\Dialect\Vector\vector-warp-distribute.mlir:1554:9: error: 'gpu.barrier' op expected to be nested inside a gpu.func or gpu.launch region
# | %18 = gpu.warp_execute_on_lane_0(%0)[32] args(%in2 : vector<1x2xindex>) -> (vector<2xf32>) {
# | ^
# | C:\_work\llvm-project\llvm-project\mlir\test\Dialect\Vector\vector-warp-distribute.mlir:1554:9: note: see current operation: "gpu.barrier"() <{address_spaces = [#gpu.address_space<workgroup>]}> : () -> ()
# | C:\_work\llvm-project\llvm-project\mlir\test\Dialect\Vector\vector-warp-distribute.mlir:1578:8: error: 'gpu.barrier' op expected to be nested inside a gpu.func or gpu.launch region
# | %r = gpu.warp_execute_on_lane_0(%laneid)[32] -> (vector<1x2xf32>) {
# | ^
# | C:\_work\llvm-project\llvm-project\mlir\test\Dialect\Vector\vector-warp-distribute.mlir:1578:8: note: see current operation: "gpu.barrier"() <{address_spaces = [#gpu.address_space<workgroup>]}> : () -> ()
# | C:\_work\llvm-project\llvm-project\mlir\test\Dialect\Vector\vector-warp-distribute.mlir:1592:8: error: 'gpu.barrier' op expected to be nested inside a gpu.func or gpu.launch region
# | %r = gpu.warp_execute_on_lane_0(%laneid)[1024] -> (vector<4xf32>) {
# | ^
# | C:\_work\llvm-project\llvm-project\mlir\test\Dialect\Vector\vector-warp-distribute.mlir:1592:8: note: see current operation: "gpu.barrier"() <{address_spaces = [#gpu.address_space<workgroup>]}> : () -> ()
# | C:\_work\llvm-project\llvm-project\mlir\test\Dialect\Vector\vector-warp-distribute.mlir:1611:8: error: 'gpu.barrier' op expected to be nested inside a gpu.func or gpu.launch region
# | %r = gpu.warp_execute_on_lane_0(%laneid)[1024] -> (vector<1x1x4xf32>) {
# | ^
# | C:\_work\llvm-project\llvm-project\mlir\test\Dialect\Vector\vector-warp-distribute.mlir:1611:8: note: see current operation: "gpu.barrier"() <{address_spaces = [#gpu.address_space<workgroup>]}> : () -> ()
# | C:\_work\llvm-project\llvm-project\mlir\test\Dialect\Vector\vector-warp-distribute.mlir:1634:8: error: 'gpu.barrier' op expected to be nested inside a gpu.func or gpu.launch region
# | %r = gpu.warp_execute_on_lane_0(%laneid)[16] -> (vector<1x2x4xf32>) {
# | ^
# | C:\_work\llvm-project\llvm-project\mlir\test\Dialect\Vector\vector-warp-distribute.mlir:1634:8: note: see current operation: "gpu.barrier"() <{address_spaces = [#gpu.address_space<workgroup>]}> : () -> ()
# | C:\_work\llvm-project\llvm-project\mlir\test\Dialect\Vector\vector-warp-distribute.mlir:1657:8: error: 'gpu.barrier' op expected to be nested inside a gpu.func or gpu.launch region
# | %r = gpu.warp_execute_on_lane_0(%laneid)[2] -> (vector<2x4x8xf32>) {
# | ^
# | C:\_work\llvm-project\llvm-project\mlir\test\Dialect\Vector\vector-warp-distribute.mlir:1657:8: note: see current operation: "gpu.barrier"() <{address_spaces = [#gpu.address_space<workgroup>]}> : () -> ()
# | C:\_work\llvm-project\llvm-project\mlir\test\Dialect\Vector\vector-warp-distribute.mlir:1677:8: error: 'gpu.barrier' op expected to be nested inside a gpu.func or gpu.launch region
# | %r = gpu.warp_execute_on_lane_0(%laneid)[64] -> (vector<1xf32>) {
# | ^
# | C:\_work\llvm-project\llvm-project\mlir\test\Dialect\Vector\vector-warp-distribute.mlir:1677:8: note: see current operation: "gpu.barrier"() <{address_spaces = [#gpu.address_space<workgroup>]}> : () -> ()
# | C:\_work\llvm-project\llvm-project\mlir\test\Dialect\Vector\vector-warp-distribute.mlir:1693:10: error: 'gpu.barrier' op expected to be nested inside a gpu.func or gpu.launch region
# | %r:2 = gpu.warp_execute_on_lane_0(%laneid)[64] -> (vector<1xf32>, vector<1xf32>) {
# | ^
# | C:\_work\llvm-project\llvm-project\mlir\test\Dialect\Vector\vector-warp-distribute.mlir:1693:10: note: see current operation: "gpu.barrier"() <{address_spaces = [#gpu.address_space<workgroup>]}> : () -> ()
# | C:\_work\llvm-project\llvm-project\mlir\test\Dialect\Vector\vector-warp-distribute.mlir:1713:8: error: 'gpu.barrier' op expected to be nested inside a gpu.func or gpu.launch region
# | %r = gpu.warp_execute_on_lane_0(%laneid)[64] -> (vector<1xf32>) {
# | ^
# | C:\_work\llvm-project\llvm-project\mlir\test\Dialect\Vector\vector-warp-distribute.mlir:1713:8: note: see current operation: "gpu.barrier"() <{address_spaces = [#gpu.address_space<workgroup>]}> : () -> ()
# | C:\_work\llvm-project\llvm-project\mlir\test\Dialect\Vector\vector-warp-distribute.mlir:1759:10: error: 'gpu.barrier' op expected to be nested inside a gpu.func or gpu.launch region
# | %r:2 = gpu.warp_execute_on_lane_0(%laneid)[64] -> (vector<2xf32>, vector<2x2xf32>) {
# | ^
# | C:\_work\llvm-project\llvm-project\mlir\test\Dialect\Vector\vector-warp-distribute.mlir:1759:10: note: see current operation: "gpu.barrier"() <{address_spaces = [#gpu.address_space<workgroup>]}> : () -> ()
# | C:\_work\llvm-project\llvm-project\mlir\test\Dialect\Vector\vector-warp-distribute.mlir:1789:8: error: 'gpu.barrier' op expected to be nested inside a gpu.func or gpu.launch region
# | %r = gpu.warp_execute_on_lane_0(%laneid)[64] -> (vector<2xf32>) {
# | ^
# | C:\_work\llvm-project\llvm-project\mlir\test\Dialect\Vector\vector-warp-distribute.mlir:1789:8: note: see current operation: "gpu.barrier"() <{address_spaces = [#gpu.address_space<workgroup>]}> : () -> ()
# | C:\_work\llvm-project\llvm-project\mlir\test\Dialect\Vector\vector-warp-distribute.mlir:1815:10: error: 'gpu.barrier' op expected to be nested inside a gpu.func or gpu.launch region
# | %r:2 = gpu.warp_execute_on_lane_0(%laneid)[64] -> (vector<2xf32>, vector<2xf32>) {
# | ^
# | C:\_work\llvm-project\llvm-project\mlir\test\Dialect\Vector\vector-warp-distribute.mlir:1815:10: note: see current operation: "gpu.barrier"() <{address_spaces = [#gpu.address_space<workgroup>]}> : () -> ()
# | C:\_work\llvm-project\llvm-project\mlir\test\Dialect\Vector\vector-warp-distribute.mlir:1835:10: error: 'gpu.barrier' op expected to be nested inside a gpu.func or gpu.launch region
# | %r:2 = gpu.warp_execute_on_lane_0(%laneid)[32] -> (vector<2xf32>, vector<4xf32>) {
# | ^
# | C:\_work\llvm-project\llvm-project\mlir\test\Dialect\Vector\vector-warp-distribute.mlir:1835:10: note: see current operation: "gpu.barrier"() <{address_spaces = [#gpu.address_space<workgroup>]}> : () -> ()
# | C:\_work\llvm-project\llvm-project\mlir\test\Dialect\Vector\vector-warp-distribute.mlir:1853:8: error: 'gpu.barrier' op expected to be nested inside a gpu.func or gpu.launch region
# | %r = gpu.warp_execute_on_lane_0(%laneid)[32] -> (vector<1xi1>) {
# | ^
# | C:\_work\llvm-project\llvm-project\mlir\test\Dialect\Vector\vector-warp-distribute.mlir:1853:8: note: see current operation: "gpu.barrier"() <{address_spaces = [#gpu.address_space<workgroup>]}> : () -> ()
# | C:\_work\llvm-project\llvm-project\mlir\test\Dialect\Vector\vector-warp-distribute.mlir:1869:8: error: 'gpu.barrier' op expected to be nested inside a gpu.func or gpu.launch region
# | %r = gpu.warp_execute_on_lane_0(%laneid)[32] -> (vector<1xi1>) {
# | ^
# | C:\_work\llvm-project\llvm-project\mlir\test\Dialect\Vector\vector-warp-distribute.mlir:1869:8: note: see current operation: "gpu.barrier"() <{address_spaces = [#gpu.address_space<workgroup>]}> : () -> ()
# | C:\_work\llvm-project\llvm-project\mlir\test\Dialect\Vector\vector-warp-distribute.mlir:1885:8: error: 'gpu.barrier' op expected to be nested inside a gpu.func or gpu.launch region
# | %r = gpu.warp_execute_on_lane_0(%laneid)[32] -> (vector<1x2x4xi1>) {
# | ^
# | C:\_work\llvm-project\llvm-project\mlir\test\Dialect\Vector\vector-warp-distribute.mlir:1885:8: note: see current operation: "gpu.barrier"() <{address_spaces = [#gpu.address_space<workgroup>]}> : () -> ()
# | C:\_work\llvm-project\llvm-project\mlir\test\Dialect\Vector\vector-warp-distribute.mlir:1902:8: error: 'gpu.barrier' op expected to be nested inside a gpu.func or gpu.launch region
# | %r = gpu.warp_execute_on_lane_0(%laneid)[32] -> (vector<1x2x4xi1>) {
# | ^
# | C:\_work\llvm-project\llvm-project\mlir\test\Dialect\Vector\vector-warp-distribute.mlir:1902:8: note: see current operation: "gpu.barrier"() <{address_spaces = [#gpu.address_space<workgroup>]}> : () -> ()
# | C:\_work\llvm-project\llvm-project\mlir\test\Dialect\Vector\vector-warp-distribute.mlir:1945:10: error: 'gpu.barrier' op expected to be nested inside a gpu.func or gpu.launch region
# | %r:3 = gpu.warp_execute_on_lane_0(%laneid)[32] -> (vector<1xf32>, vector<1xf32>, vector<1xf32>) {
# | ^
# | C:\_work\llvm-project\llvm-project\mlir\test\Dialect\Vector\vector-warp-distribute.mlir:1945:10: note: see current operation: "gpu.barrier"() <{address_spaces = [#gpu.address_space<workgroup>]}> : () -> ()
# | C:\_work\llvm-project\llvm-project\mlir\test\Dialect\Vector\vector-warp-distribute.mlir:1968:8: error: 'gpu.barrier' op expected to be nested inside a gpu.func or gpu.launch region
# | %r = gpu.warp_execute_on_lane_0(%laneid)[32] -> (vector<1xindex>) {
# | ^
# | C:\_work\llvm-project\llvm-project\mlir\test\Dialect\Vector\vector-warp-distribute.mlir:1968:8: note: see current operation: "gpu.barrier"() <{address_spaces = [#gpu.address_space<workgroup>]}> : () -> ()
# | C:\_work\llvm-project\llvm-project\mlir\test\Dialect\Vector\vector-warp-distribute.mlir:1984:8: error: 'gpu.barrier' op expected to be nested inside a gpu.func or gpu.launch region
# | %r = gpu.warp_execute_on_lane_0(%laneid)[32] -> (vector<2xindex>) {
# | ^
# | C:\_work\llvm-project\llvm-project\mlir\test\Dialect\Vector\vector-warp-distribute.mlir:1984:8: note: see current operation: "gpu.barrier"() <{address_spaces = [#gpu.address_space<workgroup>]}> : () -> ()
# | C:\_work\llvm-project\llvm-project\mlir\test\Dialect\Vector\vector-warp-distribute.mlir:2025:8: error: 'gpu.barrier' op expected to be nested inside a gpu.func or gpu.launch region
# | %0 = gpu.warp_execute_on_lane_0(%laneid)[32] -> vector<1xf32> {
# | ^
# | C:\_work\llvm-project\llvm-project\mlir\test\Dialect\Vector\vector-warp-distribute.mlir:2025:8: note: see current operation: "gpu.barrier"() <{address_spaces = [#gpu.address_space<workgroup>]}> : () -> ()
# | C:\_work\llvm-project\llvm-project\mlir\test\Dialect\Vector\vector-warp-distribute.mlir:2067:10: error: 'gpu.barrier' op expected to be nested inside a gpu.func or gpu.launch region
# | %r:3 = gpu.warp_execute_on_lane_0(%laneid)[32] ->
# | ^
# | C:\_work\llvm-project\llvm-project\mlir\test\Dialect\Vector\vector-warp-distribute.mlir:2067:10: note: see current operation: "gpu.barrier"() <{address_spaces = [#gpu.address_space<workgroup>]}> : () -> ()
# `-----------------------------
# error: command failed with exit status: 1
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' 'C:\_work\llvm-project\llvm-project\mlir\test\Dialect\Vector\vector-warp-distribute.mlir' --check-prefix=CHECK-SCF-IF
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\mlir\test\Dialect\Vector\vector-warp-distribute.mlir:27:24: error: CHECK-SCF-IF-LABEL: expected string not found in input
# | // CHECK-SCF-IF-LABEL: func @rewrite_warp_op_to_scf_if(
# | ^
# | <stdin>:1:1: note: scanning from here
# | // -----
# | ^
# | <stdin>:100:2: note: possible intended match here
# | func.func @warp_scf_for_swap_no_yield(%arg0: index) {
# | ^
# |
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\mlir\test\Dialect\Vector\vector-warp-distribute.mlir
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | 1: // -----
# | label:27'0 X~~~~~~~~ error: no match found
# | 2: module {
# | label:27'0 ~~~~~~~~~
# | 3: func.func @warp(%arg0: index, %arg1: memref<1024xf32>, %arg2: memref<1024xf32>, %arg3: memref<1024xf32>, %arg4: index) {
# | label:27'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 4: %cst = arith.constant 0.000000e+00 : f32
# | label:27'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 5: %c32 = arith.constant 32 : index
# | label:27'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 6: %c0 = arith.constant 0 : index
# | label:27'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | 95: // -----
# | label:27'0 ~~~~~~~~~
# | 96: // -----
# | label:27'0 ~~~~~~~~~
# | 97: // -----
# | label:27'0 ~~~~~~~~~
# | 98: // -----
# | label:27'0 ~~~~~~~~~
# | 99: module {
# | label:27'0 ~~~~~~~~~
# | 100: func.func @warp_scf_for_swap_no_yield(%arg0: index) {
# | label:27'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | label:27'1 ? possible intended match
# | 101: %c128 = arith.constant 128 : index
# | label:27'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 102: %c1 = arith.constant 1 : index
# | label:27'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 103: %c0 = arith.constant 0 : index
# | label:27'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 104: %0 = arith.cmpi eq, %arg0, %c0 : index
# | label:27'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 105: scf.if %0 {
# | label:27'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/188729
More information about the Mlir-commits
mailing list