[llvm] [llc] Register pass plugin callbacks with the new pass manager (PR #217727)
LLVM Continuous Integration via llvm-commits
llvm-commits at lists.llvm.org
Fri Aug 21 22:56:02 PDT 2026
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `openmp-offload-amdgpu-runtime-2` running on `rocm-worker-hw-02` while building `llvm` at step 3 "annotate".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/10/builds/34401
<details>
<summary>Here is the relevant piece of the build log for the reference</summary>
```
Step 3 (annotate) failure: 'python ../llvm.src/offload/ci/openmp-offload-amdgpu-libc-runtime.py ...' (failure)
...
PASS: LLVM :: Instrumentation/AddressSanitizer/asan-win-dont-instrument-catchpad.ll (36287 of 69740)
PASS: LLVM :: Instrumentation/AddressSanitizer/asan_address_space_attr.ll (36288 of 69740)
PASS: LLVM :: ExecutionEngine/OrcLazy/debug-objects.ll (36289 of 69740)
PASS: LLVM :: ExecutionEngine/OrcLazy/emulated-tls.ll (36290 of 69740)
PASS: LLVM :: Instrumentation/AddressSanitizer/byref-args.ll (36291 of 69740)
PASS: LLVM :: Instrumentation/AddressSanitizer/byval-args.ll (36292 of 69740)
PASS: LLVM :: FileCheck/string-defines-diagnostics.txt (36293 of 69740)
PASS: LLVM :: FileCheck/string-defines.txt (36294 of 69740)
PASS: LLVM :: ExecutionEngine/MCJIT/hello2.ll (36295 of 69740)
PASS: LLVM :: ExecutionEngine/MCJIT/load-object-a.ll (36296 of 69740)
FAIL: LLVM :: Feature/codegen-plugin-passes.mir (36297 of 69740)
******************** TEST 'LLVM :: Feature/codegen-plugin-passes.mir' FAILED ********************
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 7
/home/botworker/builds/openmp-offload-amdgpu-runtime-2/build/llvm.build/bin/llc -mtriple=x86_64-- -load-pass-plugin=/home/botworker/builds/openmp-offload-amdgpu-runtime-2/build/llvm.build/lib/Bye.so -passes=goodbye -wave-goodbye /home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.src/llvm/test/Feature/codegen-plugin-passes.mir -o /dev/null 2>&1 | /home/botworker/builds/openmp-offload-amdgpu-runtime-2/build/llvm.build/bin/FileCheck /home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.src/llvm/test/Feature/codegen-plugin-passes.mir
# executed command: /home/botworker/builds/openmp-offload-amdgpu-runtime-2/build/llvm.build/bin/llc -mtriple=x86_64-- -load-pass-plugin=/home/botworker/builds/openmp-offload-amdgpu-runtime-2/build/llvm.build/lib/Bye.so -passes=goodbye -wave-goodbye /home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.src/llvm/test/Feature/codegen-plugin-passes.mir -o /dev/null
# note: command had no output on stdout or stderr
# executed command: /home/botworker/builds/openmp-offload-amdgpu-runtime-2/build/llvm.build/bin/FileCheck /home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.src/llvm/test/Feature/codegen-plugin-passes.mir
# note: command had no output on stdout or stderr
# RUN: at line 8
/home/botworker/builds/openmp-offload-amdgpu-runtime-2/build/llvm.build/bin/llc -mtriple=x86_64-- -load-pass-plugin=/home/botworker/builds/openmp-offload-amdgpu-runtime-2/build/llvm.build/lib/Bye.so -passes=goodbye --print-pipeline-passes -filetype=null /home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.src/llvm/test/Feature/codegen-plugin-passes.mir | /home/botworker/builds/openmp-offload-amdgpu-runtime-2/build/llvm.build/bin/FileCheck /home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.src/llvm/test/Feature/codegen-plugin-passes.mir --check-prefix=PIPELINE
# executed command: /home/botworker/builds/openmp-offload-amdgpu-runtime-2/build/llvm.build/bin/llc -mtriple=x86_64-- -load-pass-plugin=/home/botworker/builds/openmp-offload-amdgpu-runtime-2/build/llvm.build/lib/Bye.so -passes=goodbye --print-pipeline-passes -filetype=null /home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.src/llvm/test/Feature/codegen-plugin-passes.mir
# note: command had no output on stdout or stderr
# executed command: /home/botworker/builds/openmp-offload-amdgpu-runtime-2/build/llvm.build/bin/FileCheck /home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.src/llvm/test/Feature/codegen-plugin-passes.mir --check-prefix=PIPELINE
# .---command stderr------------
# | /home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.src/llvm/test/Feature/codegen-plugin-passes.mir:11:13: error: PIPELINE: expected string not found in input
# | # PIPELINE: function((anonymous namespace)::Bye)
# | ^
# | <stdin>:1:1: note: scanning from here
# | function({anonymous}::Bye),PrintMIRPreparePass,function(machine-function(verify,print))
# | ^
# |
# | Input file: <stdin>
# | Check file: /home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.src/llvm/test/Feature/codegen-plugin-passes.mir
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | 1: function({anonymous}::Bye),PrintMIRPreparePass,function(machine-function(verify,print))
# | check:11'0 { } search range (exclusive bounds)
# | check:11'1 error: no match found in search range
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
Step 10 (run check-llvm) failure: run check-llvm (failure)
...
PASS: LLVM :: Instrumentation/AddressSanitizer/asan-win-dont-instrument-catchpad.ll (36287 of 69740)
PASS: LLVM :: Instrumentation/AddressSanitizer/asan_address_space_attr.ll (36288 of 69740)
PASS: LLVM :: ExecutionEngine/OrcLazy/debug-objects.ll (36289 of 69740)
PASS: LLVM :: ExecutionEngine/OrcLazy/emulated-tls.ll (36290 of 69740)
PASS: LLVM :: Instrumentation/AddressSanitizer/byref-args.ll (36291 of 69740)
PASS: LLVM :: Instrumentation/AddressSanitizer/byval-args.ll (36292 of 69740)
PASS: LLVM :: FileCheck/string-defines-diagnostics.txt (36293 of 69740)
PASS: LLVM :: FileCheck/string-defines.txt (36294 of 69740)
PASS: LLVM :: ExecutionEngine/MCJIT/hello2.ll (36295 of 69740)
PASS: LLVM :: ExecutionEngine/MCJIT/load-object-a.ll (36296 of 69740)
FAIL: LLVM :: Feature/codegen-plugin-passes.mir (36297 of 69740)
******************** TEST 'LLVM :: Feature/codegen-plugin-passes.mir' FAILED ********************
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 7
/home/botworker/builds/openmp-offload-amdgpu-runtime-2/build/llvm.build/bin/llc -mtriple=x86_64-- -load-pass-plugin=/home/botworker/builds/openmp-offload-amdgpu-runtime-2/build/llvm.build/lib/Bye.so -passes=goodbye -wave-goodbye /home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.src/llvm/test/Feature/codegen-plugin-passes.mir -o /dev/null 2>&1 | /home/botworker/builds/openmp-offload-amdgpu-runtime-2/build/llvm.build/bin/FileCheck /home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.src/llvm/test/Feature/codegen-plugin-passes.mir
# executed command: /home/botworker/builds/openmp-offload-amdgpu-runtime-2/build/llvm.build/bin/llc -mtriple=x86_64-- -load-pass-plugin=/home/botworker/builds/openmp-offload-amdgpu-runtime-2/build/llvm.build/lib/Bye.so -passes=goodbye -wave-goodbye /home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.src/llvm/test/Feature/codegen-plugin-passes.mir -o /dev/null
# note: command had no output on stdout or stderr
# executed command: /home/botworker/builds/openmp-offload-amdgpu-runtime-2/build/llvm.build/bin/FileCheck /home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.src/llvm/test/Feature/codegen-plugin-passes.mir
# note: command had no output on stdout or stderr
# RUN: at line 8
/home/botworker/builds/openmp-offload-amdgpu-runtime-2/build/llvm.build/bin/llc -mtriple=x86_64-- -load-pass-plugin=/home/botworker/builds/openmp-offload-amdgpu-runtime-2/build/llvm.build/lib/Bye.so -passes=goodbye --print-pipeline-passes -filetype=null /home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.src/llvm/test/Feature/codegen-plugin-passes.mir | /home/botworker/builds/openmp-offload-amdgpu-runtime-2/build/llvm.build/bin/FileCheck /home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.src/llvm/test/Feature/codegen-plugin-passes.mir --check-prefix=PIPELINE
# executed command: /home/botworker/builds/openmp-offload-amdgpu-runtime-2/build/llvm.build/bin/llc -mtriple=x86_64-- -load-pass-plugin=/home/botworker/builds/openmp-offload-amdgpu-runtime-2/build/llvm.build/lib/Bye.so -passes=goodbye --print-pipeline-passes -filetype=null /home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.src/llvm/test/Feature/codegen-plugin-passes.mir
# note: command had no output on stdout or stderr
# executed command: /home/botworker/builds/openmp-offload-amdgpu-runtime-2/build/llvm.build/bin/FileCheck /home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.src/llvm/test/Feature/codegen-plugin-passes.mir --check-prefix=PIPELINE
# .---command stderr------------
# | /home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.src/llvm/test/Feature/codegen-plugin-passes.mir:11:13: error: PIPELINE: expected string not found in input
# | # PIPELINE: function((anonymous namespace)::Bye)
# | ^
# | <stdin>:1:1: note: scanning from here
# | function({anonymous}::Bye),PrintMIRPreparePass,function(machine-function(verify,print))
# | ^
# |
# | Input file: <stdin>
# | Check file: /home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.src/llvm/test/Feature/codegen-plugin-passes.mir
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | 1: function({anonymous}::Bye),PrintMIRPreparePass,function(machine-function(verify,print))
# | check:11'0 { } search range (exclusive bounds)
# | check:11'1 error: no match found in search range
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
```
</details>
https://github.com/llvm/llvm-project/pull/217727
More information about the llvm-commits
mailing list