[llvm-branch-commits] [flang] [flang] Add an example plugin exercising the HLFIR pipeline extension points (PR #212196)
via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Mon Jul 27 01:39:15 PDT 2026
github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Linux-->
# :penguin: Linux x64 Test Results
* 4678 tests passed
* 135 tests skipped
* 1 test failed
## Failed Tests
(click on a test name to see its output)
### Flang
<details>
<summary>Flang.Examples/fir-opt-pass-plugin.fir</summary>
```
Exit Code: 2
Command Output (stdout):
--
# RUN: at line 11
fir-opt --load-pass-plugin=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/flangHLFIRPipelinePlugin.so --pass-pipeline='builtin.module(print-hlfir-intrinsics{label=fir-opt})' -o /dev/null /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Examples/fir-opt-pass-plugin.fir | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Examples/fir-opt-pass-plugin.fir
# executed command: fir-opt --load-pass-plugin=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/flangHLFIRPipelinePlugin.so '--pass-pipeline=builtin.module(print-hlfir-intrinsics{label=fir-opt})' -o /dev/null /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Examples/fir-opt-pass-plugin.fir
# .---command stderr------------
# | Failed to load passes from '/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/flangHLFIRPipelinePlugin.so'. Request ignored.
# | Expected<T> must be checked before access or destruction.
# | Unchecked Expected<T> contained error:
# | Could not load library '/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/flangHLFIRPipelinePlugin.so': /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/flangHLFIRPipelinePlugin.so: undefined symbol: _ZN4mlir6detail14TypeIDResolverIvvE2idE
# `-----------------------------
# error: command failed with exit status: -6
# 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/Examples/fir-opt-pass-plugin.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/Examples/fir-opt-pass-plugin.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/212196
More information about the llvm-branch-commits
mailing list