[llvm-branch-commits] [clang] [flang] [mlir] [MLIR][OpenMP] Support calls added between MarkDeclareTarget runs (PR #214185)

via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Wed Aug 5 03:59:45 PDT 2026


github-actions[bot] wrote:

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

* 101310 tests passed
* 1382 tests skipped
* 2 tests failed

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

### Clang
<details>
<summary>Clang.CIR/Transforms/omp-mark-declare-target.cir</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 1
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/cir-opt --omp-mark-declare-target /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/Transforms/omp-mark-declare-target.cir -o - | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/Transforms/omp-mark-declare-target.cir
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/cir-opt --omp-mark-declare-target /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/Transforms/omp-mark-declare-target.cir -o -
# 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/clang/test/CIR/Transforms/omp-mark-declare-target.cir
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/Transforms/omp-mark-declare-target.cir:13:17: error: CHECK-SAME: expected string not found in input
# |  // CHECK-SAME: omp.declare_target = #omp.declaretarget<device_type = (host), capture_clause = (to)
# |                 ^
# | <stdin>:2:18: note: scanning from here
# |  cir.func @helper() attributes {omp.declare_target = #omp.declaretarget<device_type = (any), capture_clause = (to), implicit = true>} {
# |                  ^
# | <stdin>:2:32: note: possible intended match here
# |  cir.func @helper() attributes {omp.declare_target = #omp.declaretarget<device_type = (any), capture_clause = (to), implicit = true>} {
# |                                ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/Transforms/omp-mark-declare-target.cir:28:17: error: CHECK-SAME: expected string not found in input
# |  // CHECK-SAME: omp.declare_target = #omp.declaretarget<device_type = (nohost), capture_clause = (to)
# |                 ^
# | <stdin>:9:25: note: scanning from here
# |  cir.func @device_helper() attributes {omp.declare_target = #omp.declaretarget<device_type = (any), capture_clause = (to), implicit = true>} {
# |                         ^
# | <stdin>:9:37: note: possible intended match here
# |  cir.func @device_helper() attributes {omp.declare_target = #omp.declaretarget<device_type = (any), capture_clause = (to), implicit = true>} {
# |                                     ^
# | 
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/Transforms/omp-mark-declare-target.cir
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |            1: module { 
# |            2:  cir.func @helper() attributes {omp.declare_target = #omp.declaretarget<device_type = (any), capture_clause = (to), implicit = true>} { 
# | same:13'0                     {                                                                                                                         search range start (exclusive)
# | same:13'1                                                                                                                                               error: no match found in search range
# | same:13'2                                    ?                                                                                                          possible intended match
# |            3:  cir.return 
# |            4:  } 
# |            5:  cir.func @caller() attributes {omp.declare_target = #omp.declaretarget<device_type = (host), capture_clause = (to)>} { 
# | same:13'3                      }                                                                                                        search range end (exclusive)
# |            6:  cir.call @helper() : () -> () 
# |            7:  cir.return 
# |            8:  } 
# |            9:  cir.func @device_helper() attributes {omp.declare_target = #omp.declaretarget<device_type = (any), capture_clause = (to), implicit = true>} { 
# | same:28'0                            {                                                                                                                         search range start (exclusive)
# | same:28'1                                                                                                                                                      error: no match found in search range
# | same:28'2                                         ?                                                                                                            possible intended match
# |           10:  cir.return 
# |           11:  } 
# |           12:  cir.func @target_caller() { 
# | same:28'3                             }      search range end (exclusive)
# |           13:  omp.target kernel_type(generic) { 
# |           14:  cir.call @device_helper() : () -> () 
# |           15:  omp.terminator 
# |           16:  } 
# |           17:  cir.return 
# |            .
# |            .
# |            .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

```
</details>
<details>
<summary>Clang.CIR/Transforms/omp-mark-declare-target.cir</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 1
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/cir-opt --omp-mark-declare-target /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/Transforms/omp-mark-declare-target.cir -o - | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/Transforms/omp-mark-declare-target.cir
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/cir-opt --omp-mark-declare-target /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/Transforms/omp-mark-declare-target.cir -o -
# 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/clang/test/CIR/Transforms/omp-mark-declare-target.cir
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/Transforms/omp-mark-declare-target.cir:13:17: error: CHECK-SAME: expected string not found in input
# |  // CHECK-SAME: omp.declare_target = #omp.declaretarget<device_type = (host), capture_clause = (to)
# |                 ^
# | <stdin>:2:18: note: scanning from here
# |  cir.func @helper() attributes {omp.declare_target = #omp.declaretarget<device_type = (any), capture_clause = (to), implicit = true>} {
# |                  ^
# | <stdin>:2:32: note: possible intended match here
# |  cir.func @helper() attributes {omp.declare_target = #omp.declaretarget<device_type = (any), capture_clause = (to), implicit = true>} {
# |                                ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/Transforms/omp-mark-declare-target.cir:28:17: error: CHECK-SAME: expected string not found in input
# |  // CHECK-SAME: omp.declare_target = #omp.declaretarget<device_type = (nohost), capture_clause = (to)
# |                 ^
# | <stdin>:9:25: note: scanning from here
# |  cir.func @device_helper() attributes {omp.declare_target = #omp.declaretarget<device_type = (any), capture_clause = (to), implicit = true>} {
# |                         ^
# | <stdin>:9:37: note: possible intended match here
# |  cir.func @device_helper() attributes {omp.declare_target = #omp.declaretarget<device_type = (any), capture_clause = (to), implicit = true>} {
# |                                     ^
# | 
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/Transforms/omp-mark-declare-target.cir
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |            1: module { 
# |            2:  cir.func @helper() attributes {omp.declare_target = #omp.declaretarget<device_type = (any), capture_clause = (to), implicit = true>} { 
# | same:13'0                     {                                                                                                                         search range start (exclusive)
# | same:13'1                                                                                                                                               error: no match found in search range
# | same:13'2                                    ?                                                                                                          possible intended match
# |            3:  cir.return 
# |            4:  } 
# |            5:  cir.func @caller() attributes {omp.declare_target = #omp.declaretarget<device_type = (host), capture_clause = (to)>} { 
# | same:13'3                      }                                                                                                        search range end (exclusive)
# |            6:  cir.call @helper() : () -> () 
# |            7:  cir.return 
# |            8:  } 
# |            9:  cir.func @device_helper() attributes {omp.declare_target = #omp.declaretarget<device_type = (any), capture_clause = (to), implicit = true>} { 
# | same:28'0                            {                                                                                                                         search range start (exclusive)
# | same:28'1                                                                                                                                                      error: no match found in search range
# | same:28'2                                         ?                                                                                                            possible intended match
# |           10:  cir.return 
# |           11:  } 
# |           12:  cir.func @target_caller() { 
# | same:28'3                             }      search range end (exclusive)
# |           13:  omp.target kernel_type(generic) { 
# |           14:  cir.call @device_helper() : () -> () 
# |           15:  omp.terminator 
# |           16:  } 
# |           17:  cir.return 
# |            .
# |            .
# |            .
# | >>>>>>
# `-----------------------------
# 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/214185


More information about the llvm-branch-commits mailing list