[flang-commits] [flang] [Flang] [OpenMP] Run `MarkDeclareTarget` pass again before `HostOpFiltering` (PR #210049)
via flang-commits
flang-commits at lists.llvm.org
Fri Jul 17 06:40:19 PDT 2026
github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Windows-->
# :window: Windows x64 Test Results
* 4527 tests passed
* 250 tests skipped
* 1 test failed
## Failed Tests
(click on a test name to see its output)
### Flang
<details>
<summary>Flang.Fir/basic-program.fir</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 1
tco C:\_work\llvm-project\llvm-project\flang\test\Fir\basic-program.fir | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\flang\test\Fir\basic-program.fir
# executed command: tco 'C:\_work\llvm-project\llvm-project\flang\test\Fir\basic-program.fir'
# 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\flang\test\Fir\basic-program.fir'
# note: command had no output on stdout or stderr
# RUN: at line 2
tco C:\_work\llvm-project\llvm-project\flang\test\Fir\basic-program.fir --mlir-pass-statistics --mlir-pass-statistics-display=pipeline 2>&1 | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\flang\test\Fir\basic-program.fir --check-prefix=PASSES
# executed command: tco 'C:\_work\llvm-project\llvm-project\flang\test\Fir\basic-program.fir' --mlir-pass-statistics --mlir-pass-statistics-display=pipeline
# 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\flang\test\Fir\basic-program.fir' --check-prefix=PASSES
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\flang\test\Fir\basic-program.fir:188:17: error: PASSES-NEXT: is not on the line after the previous match
# | // PASSES-NEXT: HostOpFilteringPass
# | ^
# | <stdin>:188:1: note: 'next' match was here
# | HostOpFilteringPass
# | ^
# | <stdin>:186:19: note: previous match ended here
# | EmitMIFGlobalCtors
# | ^
# | <stdin>:187:1: note: non-matching line after previous match is here
# | MarkDeclareTargetPass
# | ^
# |
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\flang\test\Fir\basic-program.fir
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 181: 'func.func' Pipeline
# | 182: FunctionAttr
# | 183: LowerNontemporalPass
# | 184: FIRToLLVMLowering
# | 185: ReconcileUnrealizedCastsPass
# | 186: EmitMIFGlobalCtors
# | next:188'0 { search range start (exclusive)
# | 187: MarkDeclareTargetPass
# | 188: HostOpFilteringPass
# | next:188'1 !~~~~~~~~~~~~~~~~~~ error: match on wrong line
# | 189: 'llvm.func' Pipeline
# | 190: StackToSharedPass
# | 191: PrepareForOMPOffloadPrivatizationPass
# | 192: (anonymous namespace)::LLVMIRLoweringPass
# | 193:
# | next:188'2 } 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/210049
More information about the flang-commits
mailing list