[Mlir-commits] [mlir] [mlir][OpenACC][OpenMP] Use explicit attribute APIs (PR #218901)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Wed Aug 26 06:17:57 PDT 2026


github-actions[bot] wrote:

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

* 8839 tests passed
* 647 tests skipped
* 2 tests failed

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

### Flang
<details>
<summary>Flang.Analysis/AliasAnalysis/alias-analysis-acc.mlir</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 1
fir-opt /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Analysis/AliasAnalysis/alias-analysis-acc.mlir -pass-pipeline='builtin.module(func.func(test-fir-alias-analysis))' -split-input-file --mlir-disable-threading 2>&1 | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Analysis/AliasAnalysis/alias-analysis-acc.mlir
# executed command: fir-opt /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Analysis/AliasAnalysis/alias-analysis-acc.mlir '-pass-pipeline=builtin.module(func.func(test-fir-alias-analysis))' -split-input-file --mlir-disable-threading
# note: command had no output on stdout or stderr
# 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/flang/test/Analysis/AliasAnalysis/alias-analysis-acc.mlir
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Analysis/AliasAnalysis/alias-analysis-acc.mlir:68:17: error: CHECK-LABEL: expected string not found in input
# | // CHECK-LABEL: Testing : "testComputeRegionCopyinDistinctHostsInsideConvert"
# |                 ^
# | <stdin>:7:47: note: scanning from here
# | Testing : "testBothOutsideCreateDistinctHosts"
# |                                               ^
# | <stdin>:21:1: note: possible intended match here
# | Testing : "testKernelsCopyinDistinctHostsInsideConvert"
# | ^
# | 
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Analysis/AliasAnalysis/alias-analysis-acc.mlir
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |             1: Testing : "testBothOutsideCopyinDistinctHosts" 
# |             2: cin_a#0 <-> cin_b#0: NoAlias 
# |             3: Testing : "testBothOutsideCopyinTargetDummyArgsMayAlias" 
# |             4: arg_cp_a#0 <-> arg_cp_b#0: MayAlias 
# |             5: Testing : "testBothOutsideCopyinSameHostMustAlias" 
# |             6: out_must_a#0 <-> out_must_b#0: MustAlias 
# |             7: Testing : "testBothOutsideCreateDistinctHosts" 
# | label:68'0                                                  {   search range start (exclusive)
# | label:68'1                                                      error: no match found in search range
# |             8: crt_a#0 <-> crt_b#0: NoAlias 
# |             9: /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Analysis/AliasAnalysis/alias-analysis-acc.mlir:78:3: error: invalid properties {operandSegmentSizes = array<i32: 0, 2, 0>} for op acc.compute_region: expected key entry for origin in DictionaryAttr to set Properties. 
# |            10:  acc.compute_region ins(%arg0 = %ca, %arg1 = %cb) : (!fir.ref<f32>, !fir.ref<f32>) { 
# |            11:  ^ 
# |            12: /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Analysis/AliasAnalysis/alias-analysis-acc.mlir:98:3: error: invalid properties {operandSegmentSizes = array<i32: 0, 2, 0>} for op acc.compute_region: expected key entry for origin in DictionaryAttr to set Properties. 
# |            13:  acc.compute_region ins(%arg0 = %ta, %arg1 = %tb) : (!fir.ref<f32>, !fir.ref<f32>) { 
# |            14:  ^ 
# |            15: /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Analysis/AliasAnalysis/alias-analysis-acc.mlir:119:3: error: invalid properties {operandSegmentSizes = array<i32: 0, 2, 0>} for op acc.compute_region: expected key entry for origin in DictionaryAttr to set Properties. 
# |            16:  acc.compute_region ins(%cr0 = %cx, %cr1 = %cy) : (!fir.ref<f32>, !fir.ref<f32>) { 
# |            17:  ^ 
# |            18: /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Analysis/AliasAnalysis/alias-analysis-acc.mlir:138:3: error: invalid properties {operandSegmentSizes = array<i32: 0, 2, 0>} for op acc.compute_region: expected key entry for origin in DictionaryAttr to set Properties. 
# |            19:  acc.compute_region ins(%arg0 = %ca, %arg1 = %ca) : (!fir.ref<f32>, !fir.ref<f32>) { 
# |            20:  ^ 
# |            21: Testing : "testKernelsCopyinDistinctHostsInsideConvert" 
# | label:68'2     ?                                                         possible intended match
# |            22: kern_dist_a#0 <-> kern_dist_b#0: NoAlias 
# |            23: Testing : "testKernelsCreateDistinctHostsInsideConvert" 
# |            24: kern_crt_a#0 <-> kern_crt_b#0: NoAlias 
# |            25: Testing : "testKernelsCopyinTargetDummiesMayAliasInsideConvert" 
# |            26: kern_tgt_a#0 <-> kern_tgt_b#0: MayAlias 
# |             .
# |             .
# |             .
# |           301:  return 
# |           302:  } 
# |           303: } 
# |           304:  
# |           305: // ----- 
# |           306: // ----- 
# | label:68'3              } search range end (exclusive)
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

```
</details>
<details>
<summary>Flang.Transforms/licm-acc-compute-region.fir</summary>

```
Exit Code: 2

Command Output (stdout):
--
# RUN: at line 1
fir-opt -flang-licm --split-input-file /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Transforms/licm-acc-compute-region.fir | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Transforms/licm-acc-compute-region.fir
# executed command: fir-opt -flang-licm --split-input-file /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Transforms/licm-acc-compute-region.fir
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Transforms/licm-acc-compute-region.fir:35:5: error: invalid properties {operandSegmentSizes = array<i32: 0, 2, 0>} for op acc.compute_region: expected key entry for origin in DictionaryAttr to set Properties.
# |     acc.compute_region ins(%arg2 = %arg1, %arg3 = %7) : (index, !fir.box<!fir.array<?xf32>>) {
# |     ^
# `-----------------------------
# 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/flang/test/Transforms/licm-acc-compute-region.fir
# .---command stderr------------
# | FileCheck error: '<stdin>' is empty.
# | FileCheck command line:  /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Transforms/licm-acc-compute-region.fir
# `-----------------------------
# error: command failed with exit status: 2

--

```
</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/218901


More information about the Mlir-commits mailing list