[Mlir-commits] [mlir] [OpenACC][MLIR] clone reduction operands during ACCIfClauseLowering (PR #177196)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Wed Jan 21 08:41:45 PST 2026


github-actions[bot] wrote:

<!--PREMERGE ADVISOR COMMENT: Windows-->
# :window: Windows x64 Test Results

* 3427 tests passed
* 412 tests skipped
* 1 test failed

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

### MLIR
<details>
<summary>MLIR.Dialect/OpenACC/acc-if-clause-lowering.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\OpenACC\acc-if-clause-lowering.mlir -acc-if-clause-lowering -split-input-file | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\mlir\test\Dialect\OpenACC\acc-if-clause-lowering.mlir
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\mlir-opt.exe' 'C:\_work\llvm-project\llvm-project\mlir\test\Dialect\OpenACC\acc-if-clause-lowering.mlir' -acc-if-clause-lowering -split-input-file
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\mlir\test\Dialect\OpenACC\acc-if-clause-lowering.mlir:308:30: error: use of undeclared SSA value name
# |     %add = arith.addi %load, %c0_i32 : i32
# |                              ^
# `-----------------------------
# 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\OpenACC\acc-if-clause-lowering.mlir'
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\mlir\test\Dialect\OpenACC\acc-if-clause-lowering.mlir:276:17: error: CHECK-LABEL: expected string not found in input
# | // CHECK-LABEL: func.func @test_acc_reduction
# |                 ^
# | <stdin>:197:34: note: scanning from here
# |  func.func @test_acc_firstprivate(%arg0: memref<10xi32>, %arg1: memref<i32>, %arg2: i1) {
# |                                  ^
# | <stdin>:198:13: note: possible intended match here
# |  %c0_i32 = arith.constant 0 : i32
# |             ^
# | 
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\mlir\test\Dialect\OpenACC\acc-if-clause-lowering.mlir
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |              .
# |              .
# |              .
# |            192:  ^bb0(%arg0: memref<i32>, %arg1: memref<i32>): 
# |            193:  %0 = memref.load %arg0[] : memref<i32> 
# |            194:  memref.store %0, %arg1[] : memref<i32> 
# |            195:  acc.terminator 
# |            196:  } 
# |            197:  func.func @test_acc_firstprivate(%arg0: memref<10xi32>, %arg1: memref<i32>, %arg2: i1) { 
# | label:276'0                                      X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
# |            198:  %c0_i32 = arith.constant 0 : i32 
# | label:276'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | label:276'1                 ?                      possible intended match
# |            199:  %c1 = arith.constant 1 : index 
# | label:276'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            200:  %c10 = arith.constant 10 : index 
# | label:276'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            201:  scf.if %arg2 { 
# | label:276'0     ~~~~~~~~~~~~~~~~
# |            202:  %0 = acc.copyin varPtr(%arg0 : memref<10xi32>) -> memref<10xi32> 
# | label:276'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            203:  %1 = acc.firstprivate varPtr(%arg1 : memref<i32>) recipe(@memref_i32) -> memref<i32> 
# | label:276'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/177196


More information about the Mlir-commits mailing list