[Mlir-commits] [mlir] [MLIR][Python] Add `ConditionallySpeculatable` interface and `Pure` specifier (PR #195505)
LLVM Continuous Integration
llvmlistbot at llvm.org
Mon May 4 20:46:00 PDT 2026
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `amdgpu-hip-tpl` running on `AMD-bb-w-03` while building `mlir` at step 4 "annotate".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/230/builds/182
<details>
<summary>Here is the relevant piece of the build log for the reference</summary>
```
Step 4 (annotate) failure: '../llvm-zorg/zorg/buildbot/builders/annotated/hip-tpl.py --jobs=32' (failure)
...
[7162/8596] Linking CXX shared library lib/libMLIRCAPIUB.so.23.0git
[7163/8596] Linking CXX shared library lib/libMLIRCAPILinalg.so.23.0git
[7164/8596] Linking CXX shared library lib/libMLIRCAPILLVM.so.23.0git
[7165/8596] Linking CXX shared library lib/libMLIRCAPIArmSME.so.23.0git
[7166/8596] Linking CXX shared library lib/libMLIRCAPIAsync.so.23.0git
[7167/8596] Linking CXX shared library lib/libMLIRCAPINVVM.so.23.0git
[7168/8596] Linking CXX shared library lib/libMLIRCAPIShape.so.23.0git
[7169/8596] Linking CXX shared library lib/libMLIRCAPIWasmSSA.so.23.0git
[7170/8596] Linking CXX shared library lib/libMLIRCAPIShard.so.23.0git
[7171/8596] Linking CXX shared library lib/libMLIRCAPIInterfaces.so.23.0git
FAILED: lib/libMLIRCAPIInterfaces.so.23.0git
: && /opt/rh/gcc-toolset-13/root/usr/bin/c++ -fPIC -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-uninitialized -Wno-nonnull -Wno-class-memaccess -Wno-dangling-reference -Wno-redundant-move -Wno-pessimizing-move -Wno-array-bounds -Wno-stringop-overread -Wno-dangling-pointer -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -Wundef -Wno-unused-but-set-parameter -O3 -DNDEBUG -Wl,-z,defs -Wl,-z,nodelete -Wl,-rpath-link,/home/botworker/bbot/amdgpu-hip-tpl/build/./lib -Wl,--gc-sections -shared -Wl,-soname,libMLIRCAPIInterfaces.so.23.0git -o lib/libMLIRCAPIInterfaces.so.23.0git tools/mlir/lib/CAPI/Interfaces/CMakeFiles/obj.MLIRCAPIInterfaces.dir/Interfaces.cpp.o -Wl,-rpath,"\$ORIGIN/../lib:/home/botworker/bbot/amdgpu-hip-tpl/build/lib:" lib/libMLIRInferTypeOpInterface.so.23.0git lib/libMLIRIR.so.23.0git lib/libMLIRSupport.so.23.0git lib/libLLVMSupport.so.23.0git -lpthread -Wl,-rpath-link,/home/botworker/bbot/amdgpu-hip-tpl/build/lib && :
/opt/rh/gcc-toolset-13/root/usr/libexec/gcc/x86_64-redhat-linux/13/ld: tools/mlir/lib/CAPI/Interfaces/CMakeFiles/obj.MLIRCAPIInterfaces.dir/Interfaces.cpp.o: in function `mlirConditionallySpeculatableOpInterfaceGetSpeculatability':
Interfaces.cpp:(.text.mlirConditionallySpeculatableOpInterfaceGetSpeculatability+0x1dd): undefined reference to `mlir::ConditionallySpeculatable::getSpeculatability()'
collect2: error: ld returned 1 exit status
[7172/8596] Linking CXX shared library lib/libMLIRCAPISCF.so.23.0git
[7173/8596] Linking CXX shared library lib/libMLIRCAPIVCIX.so.23.0git
[7174/8596] Building CXX object tools/clang/lib/Tooling/Refactoring/CMakeFiles/obj.clangToolingRefactoring.dir/AtomicChange.cpp.o
[7175/8596] Linking CXX shared library lib/libMLIRCAPIAMDGPU.so.23.0git
[7176/8596] Building CXX object tools/clang/lib/Tooling/Refactoring/CMakeFiles/obj.clangToolingRefactoring.dir/Rename/RenamingAction.cpp.o
[7177/8596] Building CXX object tools/clang/lib/ScalableStaticAnalysisFramework/Plugins/ExamplePlugin/CMakeFiles/SSAFExamplePlugin.dir/PairsAnalysis.cpp.o
In file included from /home/botworker/bbot/amdgpu-hip-tpl/llvm-project/clang/include/clang/ScalableStaticAnalysisFramework/Core/WholeProgramAnalysis/AnalysisRegistry.h:37,
from /home/botworker/bbot/amdgpu-hip-tpl/llvm-project/clang/lib/ScalableStaticAnalysisFramework/Plugins/ExamplePlugin/PairsAnalysis.cpp:13:
/home/botworker/bbot/amdgpu-hip-tpl/llvm-project/clang/include/clang/ScalableStaticAnalysisFramework/Core/WholeProgramAnalysis/SummaryAnalysis.h:109:15: warning: ‘llvm::Error clang::ssaf::SummaryAnalysis<ResultT, EntitySummaryT>::add(clang::ssaf::EntityId, const clang::ssaf::EntitySummary&) [with ResultT = example_plugin::PairsAnalysisResult; EntitySummaryT = {anonymous}::PairsEntitySummary]’ was hidden [-Woverloaded-virtual=]
109 | llvm::Error add(EntityId Id, const EntitySummary &Summary) final {
| ^~~
/home/botworker/bbot/amdgpu-hip-tpl/llvm-project/clang/lib/ScalableStaticAnalysisFramework/Plugins/ExamplePlugin/PairsAnalysis.cpp:188:15: note: by ‘virtual llvm::Error {anonymous}::PairsAnalysis::add(clang::ssaf::EntityId, const {anonymous}::PairsEntitySummary&)’
188 | llvm::Error add(EntityId Id, const PairsEntitySummary &S) override {
| ^~~
[7178/8596] Building CXX object tools/clang/lib/ScalableStaticAnalysisFramework/Plugins/ExamplePlugin/CMakeFiles/SSAFExamplePlugin.dir/TagsAnalysis.cpp.o
In file included from /home/botworker/bbot/amdgpu-hip-tpl/llvm-project/clang/include/clang/ScalableStaticAnalysisFramework/Core/WholeProgramAnalysis/AnalysisRegistry.h:37,
from /home/botworker/bbot/amdgpu-hip-tpl/llvm-project/clang/lib/ScalableStaticAnalysisFramework/Plugins/ExamplePlugin/TagsAnalysis.cpp:13:
/home/botworker/bbot/amdgpu-hip-tpl/llvm-project/clang/include/clang/ScalableStaticAnalysisFramework/Core/WholeProgramAnalysis/SummaryAnalysis.h:109:15: warning: ‘llvm::Error clang::ssaf::SummaryAnalysis<ResultT, EntitySummaryT>::add(clang::ssaf::EntityId, const clang::ssaf::EntitySummary&) [with ResultT = example_plugin::TagsAnalysisResult; EntitySummaryT = {anonymous}::TagsEntitySummary]’ was hidden [-Woverloaded-virtual=]
109 | llvm::Error add(EntityId Id, const EntitySummary &Summary) final {
| ^~~
/home/botworker/bbot/amdgpu-hip-tpl/llvm-project/clang/lib/ScalableStaticAnalysisFramework/Plugins/ExamplePlugin/TagsAnalysis.cpp:142:15: note: by ‘virtual llvm::Error {anonymous}::TagsAnalysis::add(clang::ssaf::EntityId, const {anonymous}::TagsEntitySummary&)’
142 | llvm::Error add(EntityId, const TagsEntitySummary &S) override {
| ^~~
[7179/8596] Building CXX object tools/clang/lib/Tooling/Refactoring/CMakeFiles/obj.clangToolingRefactoring.dir/RefactoringActions.cpp.o
[7180/8596] Linking CXX shared library lib/libclangDirectoryWatcher.so.23.0git
[7181/8596] Linking CXX shared library lib/libMLIRCAPIExportSMTLIB.so.23.0git
[7182/8596] Linking CXX shared library lib/libMLIRCAPITensor.so.23.0git
[7183/8596] Linking CXX shared library lib/libMLIRCAPIOpenACC.so.23.0git
[7184/8596] Linking CXX shared library lib/libMLIRCAPIX86.so.23.0git
[7185/8596] Linking CXX shared library lib/libMLIRCAPIXeVM.so.23.0git
[7186/8596] Linking CXX shared library lib/libMLIRCAPITransformDialectTransforms.so.23.0git
[7187/8596] Linking CXX shared library lib/libMLIRCAPIVector.so.23.0git
[7188/8596] Building CXX object tools/clang/lib/Tooling/Refactoring/CMakeFiles/obj.clangToolingRefactoring.dir/Rename/USRFindingAction.cpp.o
[7189/8596] Linking CXX shared library lib/libclangIndexSerialization.so.23.0git
Step 7 (build cmake config) failure: build cmake config (failure)
...
[7162/8596] Linking CXX shared library lib/libMLIRCAPIUB.so.23.0git
[7163/8596] Linking CXX shared library lib/libMLIRCAPILinalg.so.23.0git
[7164/8596] Linking CXX shared library lib/libMLIRCAPILLVM.so.23.0git
[7165/8596] Linking CXX shared library lib/libMLIRCAPIArmSME.so.23.0git
[7166/8596] Linking CXX shared library lib/libMLIRCAPIAsync.so.23.0git
[7167/8596] Linking CXX shared library lib/libMLIRCAPINVVM.so.23.0git
[7168/8596] Linking CXX shared library lib/libMLIRCAPIShape.so.23.0git
[7169/8596] Linking CXX shared library lib/libMLIRCAPIWasmSSA.so.23.0git
[7170/8596] Linking CXX shared library lib/libMLIRCAPIShard.so.23.0git
[7171/8596] Linking CXX shared library lib/libMLIRCAPIInterfaces.so.23.0git
FAILED: lib/libMLIRCAPIInterfaces.so.23.0git
: && /opt/rh/gcc-toolset-13/root/usr/bin/c++ -fPIC -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-uninitialized -Wno-nonnull -Wno-class-memaccess -Wno-dangling-reference -Wno-redundant-move -Wno-pessimizing-move -Wno-array-bounds -Wno-stringop-overread -Wno-dangling-pointer -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -Wundef -Wno-unused-but-set-parameter -O3 -DNDEBUG -Wl,-z,defs -Wl,-z,nodelete -Wl,-rpath-link,/home/botworker/bbot/amdgpu-hip-tpl/build/./lib -Wl,--gc-sections -shared -Wl,-soname,libMLIRCAPIInterfaces.so.23.0git -o lib/libMLIRCAPIInterfaces.so.23.0git tools/mlir/lib/CAPI/Interfaces/CMakeFiles/obj.MLIRCAPIInterfaces.dir/Interfaces.cpp.o -Wl,-rpath,"\$ORIGIN/../lib:/home/botworker/bbot/amdgpu-hip-tpl/build/lib:" lib/libMLIRInferTypeOpInterface.so.23.0git lib/libMLIRIR.so.23.0git lib/libMLIRSupport.so.23.0git lib/libLLVMSupport.so.23.0git -lpthread -Wl,-rpath-link,/home/botworker/bbot/amdgpu-hip-tpl/build/lib && :
/opt/rh/gcc-toolset-13/root/usr/libexec/gcc/x86_64-redhat-linux/13/ld: tools/mlir/lib/CAPI/Interfaces/CMakeFiles/obj.MLIRCAPIInterfaces.dir/Interfaces.cpp.o: in function `mlirConditionallySpeculatableOpInterfaceGetSpeculatability':
Interfaces.cpp:(.text.mlirConditionallySpeculatableOpInterfaceGetSpeculatability+0x1dd): undefined reference to `mlir::ConditionallySpeculatable::getSpeculatability()'
collect2: error: ld returned 1 exit status
[7172/8596] Linking CXX shared library lib/libMLIRCAPISCF.so.23.0git
[7173/8596] Linking CXX shared library lib/libMLIRCAPIVCIX.so.23.0git
[7174/8596] Building CXX object tools/clang/lib/Tooling/Refactoring/CMakeFiles/obj.clangToolingRefactoring.dir/AtomicChange.cpp.o
[7175/8596] Linking CXX shared library lib/libMLIRCAPIAMDGPU.so.23.0git
[7176/8596] Building CXX object tools/clang/lib/Tooling/Refactoring/CMakeFiles/obj.clangToolingRefactoring.dir/Rename/RenamingAction.cpp.o
[7177/8596] Building CXX object tools/clang/lib/ScalableStaticAnalysisFramework/Plugins/ExamplePlugin/CMakeFiles/SSAFExamplePlugin.dir/PairsAnalysis.cpp.o
In file included from /home/botworker/bbot/amdgpu-hip-tpl/llvm-project/clang/include/clang/ScalableStaticAnalysisFramework/Core/WholeProgramAnalysis/AnalysisRegistry.h:37,
from /home/botworker/bbot/amdgpu-hip-tpl/llvm-project/clang/lib/ScalableStaticAnalysisFramework/Plugins/ExamplePlugin/PairsAnalysis.cpp:13:
/home/botworker/bbot/amdgpu-hip-tpl/llvm-project/clang/include/clang/ScalableStaticAnalysisFramework/Core/WholeProgramAnalysis/SummaryAnalysis.h:109:15: warning: ‘llvm::Error clang::ssaf::SummaryAnalysis<ResultT, EntitySummaryT>::add(clang::ssaf::EntityId, const clang::ssaf::EntitySummary&) [with ResultT = example_plugin::PairsAnalysisResult; EntitySummaryT = {anonymous}::PairsEntitySummary]’ was hidden [-Woverloaded-virtual=]
109 | llvm::Error add(EntityId Id, const EntitySummary &Summary) final {
| ^~~
/home/botworker/bbot/amdgpu-hip-tpl/llvm-project/clang/lib/ScalableStaticAnalysisFramework/Plugins/ExamplePlugin/PairsAnalysis.cpp:188:15: note: by ‘virtual llvm::Error {anonymous}::PairsAnalysis::add(clang::ssaf::EntityId, const {anonymous}::PairsEntitySummary&)’
188 | llvm::Error add(EntityId Id, const PairsEntitySummary &S) override {
| ^~~
[7178/8596] Building CXX object tools/clang/lib/ScalableStaticAnalysisFramework/Plugins/ExamplePlugin/CMakeFiles/SSAFExamplePlugin.dir/TagsAnalysis.cpp.o
In file included from /home/botworker/bbot/amdgpu-hip-tpl/llvm-project/clang/include/clang/ScalableStaticAnalysisFramework/Core/WholeProgramAnalysis/AnalysisRegistry.h:37,
from /home/botworker/bbot/amdgpu-hip-tpl/llvm-project/clang/lib/ScalableStaticAnalysisFramework/Plugins/ExamplePlugin/TagsAnalysis.cpp:13:
/home/botworker/bbot/amdgpu-hip-tpl/llvm-project/clang/include/clang/ScalableStaticAnalysisFramework/Core/WholeProgramAnalysis/SummaryAnalysis.h:109:15: warning: ‘llvm::Error clang::ssaf::SummaryAnalysis<ResultT, EntitySummaryT>::add(clang::ssaf::EntityId, const clang::ssaf::EntitySummary&) [with ResultT = example_plugin::TagsAnalysisResult; EntitySummaryT = {anonymous}::TagsEntitySummary]’ was hidden [-Woverloaded-virtual=]
109 | llvm::Error add(EntityId Id, const EntitySummary &Summary) final {
| ^~~
/home/botworker/bbot/amdgpu-hip-tpl/llvm-project/clang/lib/ScalableStaticAnalysisFramework/Plugins/ExamplePlugin/TagsAnalysis.cpp:142:15: note: by ‘virtual llvm::Error {anonymous}::TagsAnalysis::add(clang::ssaf::EntityId, const {anonymous}::TagsEntitySummary&)’
142 | llvm::Error add(EntityId, const TagsEntitySummary &S) override {
| ^~~
[7179/8596] Building CXX object tools/clang/lib/Tooling/Refactoring/CMakeFiles/obj.clangToolingRefactoring.dir/RefactoringActions.cpp.o
[7180/8596] Linking CXX shared library lib/libclangDirectoryWatcher.so.23.0git
[7181/8596] Linking CXX shared library lib/libMLIRCAPIExportSMTLIB.so.23.0git
[7182/8596] Linking CXX shared library lib/libMLIRCAPITensor.so.23.0git
[7183/8596] Linking CXX shared library lib/libMLIRCAPIOpenACC.so.23.0git
[7184/8596] Linking CXX shared library lib/libMLIRCAPIX86.so.23.0git
[7185/8596] Linking CXX shared library lib/libMLIRCAPIXeVM.so.23.0git
[7186/8596] Linking CXX shared library lib/libMLIRCAPITransformDialectTransforms.so.23.0git
[7187/8596] Linking CXX shared library lib/libMLIRCAPIVector.so.23.0git
[7188/8596] Building CXX object tools/clang/lib/Tooling/Refactoring/CMakeFiles/obj.clangToolingRefactoring.dir/Rename/USRFindingAction.cpp.o
[7189/8596] Linking CXX shared library lib/libclangIndexSerialization.so.23.0git
```
</details>
https://github.com/llvm/llvm-project/pull/195505
More information about the Mlir-commits
mailing list