[flang-commits] [flang] [mlir] [flang][OpenMP] Support allocate clauses on scope constructs (PR #221229)
via flang-commits
flang-commits at lists.llvm.org
Sun Sep 6 01:12:16 PDT 2026
github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Windows-->
# :window: Windows x64 Test Results
* 8882 tests passed
* 714 tests skipped
* 1 test failed
## Failed Tests
(click on a test name to see its output)
### MLIR
<details>
<summary>MLIR.Target/LLVMIR/openmp-scope-allocate-clause.mlir</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 1
split-file C:\_work\llvm-project\llvm-project\mlir\test\Target\LLVMIR\openmp-scope-allocate-clause.mlir C:\_work\llvm-project\llvm-project\build\tools\mlir\test\Target\LLVMIR\Output\openmp-scope-allocate-clause.mlir.tmp
# executed command: split-file 'C:\_work\llvm-project\llvm-project\mlir\test\Target\LLVMIR\openmp-scope-allocate-clause.mlir' 'C:\_work\llvm-project\llvm-project\build\tools\mlir\test\Target\LLVMIR\Output\openmp-scope-allocate-clause.mlir.tmp'
# note: command had no output on stdout or stderr
# RUN: at line 2
c:\_work\llvm-project\llvm-project\build\bin\mlir-translate.exe -mlir-to-llvmir -split-input-file C:\_work\llvm-project\llvm-project\build\tools\mlir\test\Target\LLVMIR\Output\openmp-scope-allocate-clause.mlir.tmp/valid.mlir | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\mlir\test\Target\LLVMIR\openmp-scope-allocate-clause.mlir
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\mlir-translate.exe' -mlir-to-llvmir -split-input-file 'C:\_work\llvm-project\llvm-project\build\tools\mlir\test\Target\LLVMIR\Output\openmp-scope-allocate-clause.mlir.tmp/valid.mlir'
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' 'C:\_work\llvm-project\llvm-project\mlir\test\Target\LLVMIR\openmp-scope-allocate-clause.mlir'
# note: command had no output on stdout or stderr
# RUN: at line 3
c:\_work\llvm-project\llvm-project\build\bin\not.exe c:\_work\llvm-project\llvm-project\build\bin\mlir-translate.exe -mlir-to-llvmir C:\_work\llvm-project\llvm-project\build\tools\mlir\test\Target\LLVMIR\Output\openmp-scope-allocate-clause.mlir.tmp/device.mlir 2>&1 | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\mlir\test\Target\LLVMIR\openmp-scope-allocate-clause.mlir --check-prefix=DEVICE
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\not.exe' 'c:\_work\llvm-project\llvm-project\build\bin\mlir-translate.exe' -mlir-to-llvmir 'C:\_work\llvm-project\llvm-project\build\tools\mlir\test\Target\LLVMIR\Output\openmp-scope-allocate-clause.mlir.tmp/device.mlir'
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' 'C:\_work\llvm-project\llvm-project\mlir\test\Target\LLVMIR\openmp-scope-allocate-clause.mlir' --check-prefix=DEVICE
# note: command had no output on stdout or stderr
# RUN: at line 4
c:\_work\llvm-project\llvm-project\build\bin\not.exe c:\_work\llvm-project\llvm-project\build\bin\mlir-translate.exe -mlir-to-llvmir C:\_work\llvm-project\llvm-project\build\tools\mlir\test\Target\LLVMIR\Output\openmp-scope-allocate-clause.mlir.tmp/declare-target-device.mlir 2>&1 | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\mlir\test\Target\LLVMIR\openmp-scope-allocate-clause.mlir --check-prefix=DECLARE-TARGET-DEVICE
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\not.exe' 'c:\_work\llvm-project\llvm-project\build\bin\mlir-translate.exe' -mlir-to-llvmir 'C:\_work\llvm-project\llvm-project\build\tools\mlir\test\Target\LLVMIR\Output\openmp-scope-allocate-clause.mlir.tmp/declare-target-device.mlir'
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' 'C:\_work\llvm-project\llvm-project\mlir\test\Target\LLVMIR\openmp-scope-allocate-clause.mlir' --check-prefix=DECLARE-TARGET-DEVICE
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\mlir\test\Target\LLVMIR\openmp-scope-allocate-clause.mlir:270:27: error: DECLARE-TARGET-DEVICE: expected string not found in input
# | // DECLARE-TARGET-DEVICE: allocate clause in an OpenMP device context is not supported
# | ^
# | <stdin>:1:1: note: scanning from here
# | C:\_work\llvm-project\llvm-project\build\tools\mlir\test\Target\LLVMIR\Output\openmp-scope-allocate-clause.mlir.tmp/declare-target-device.mlir:8:44: error: expected keyword for device_type clause
# | ^
# | <stdin>:1:92: note: possible intended match here
# | C:\_work\llvm-project\llvm-project\build\tools\mlir\test\Target\LLVMIR\Output\openmp-scope-allocate-clause.mlir.tmp/declare-target-device.mlir:8:44: error: expected keyword for device_type clause
# | ^
# |
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\mlir\test\Target\LLVMIR\openmp-scope-allocate-clause.mlir
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | 1: C:\_work\llvm-project\llvm-project\build\tools\mlir\test\Target\LLVMIR\Output\openmp-scope-allocate-clause.mlir.tmp/declare-target-device.mlir:8:44: error: expected keyword for device_type clause
# | check:270'0 { search range start (exclusive)
# | check:270'1 error: no match found in search range
# | check:270'2 ? possible intended match
# | 2: #omp.declaretarget<device_type = (any), capture_clause = (to)>
# | 3: ^
# | 4: C:\_work\llvm-project\llvm-project\build\tools\mlir\test\Target\LLVMIR\Output\openmp-scope-allocate-clause.mlir.tmp/declare-target-device.mlir:8:44: error: failed to parse DeclareTargetAttr parameter 'device_type' which is to be a `::mlir::omp::DeclareTargetDeviceTypeAttr`
# | 5: #omp.declaretarget<device_type = (any), capture_clause = (to)>
# | 6: ^
# | check:270'3 } search range end (exclusive)
# | >>>>>>
# `-----------------------------
# 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/221229
More information about the flang-commits
mailing list