[Mlir-commits] [mlir] [MLIR] Make `resolveCallable` customizable in `CallOpInterface` (PR #100361)

LLVM Continuous Integration llvmlistbot at llvm.org
Tue Sep 10 01:12:54 PDT 2024


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `flang-aarch64-libcxx` running on `linaro-flang-aarch64-libcxx` while building `mlir` at step 5 "build-unified-tree".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/89/builds/5973

<details>
<summary>Here is the relevant piece of the build log for the reference</summary>

```
Step 5 (build-unified-tree) failure: build (failure)
...
76.297 [3199/108/3864] Building CXX object tools/mlir/lib/Dialect/Affine/Transforms/CMakeFiles/obj.MLIRAffineTransforms.dir/AffineLoopInvariantCodeMotion.cpp.o
76.560 [3199/107/3865] Building CXX object tools/mlir/lib/Dialect/Affine/Transforms/CMakeFiles/obj.MLIRAffineTransforms.dir/ReifyValueBounds.cpp.o
76.740 [3199/106/3866] Building CXX object tools/mlir/lib/Conversion/TensorToSPIRV/CMakeFiles/obj.MLIRTensorToSPIRV.dir/TensorToSPIRVPass.cpp.o
77.591 [3199/105/3867] Building CXX object tools/mlir/lib/Conversion/MathToROCDL/CMakeFiles/obj.MLIRMathToROCDL.dir/MathToROCDL.cpp.o
77.627 [3199/104/3868] Building CXX object tools/mlir/lib/Dialect/Affine/Transforms/CMakeFiles/obj.MLIRAffineTransforms.dir/LoopUnrollAndJam.cpp.o
77.972 [3199/103/3869] Building CXX object tools/mlir/lib/Dialect/Affine/Analysis/CMakeFiles/obj.MLIRAffineAnalysis.dir/Utils.cpp.o
77.993 [3199/102/3870] Building CXX object tools/mlir/lib/Dialect/Linalg/Transforms/CMakeFiles/obj.MLIRLinalgTransforms.dir/ConvertConv2DToImg2Col.cpp.o
78.259 [3199/101/3871] Building CXX object tools/mlir/lib/Dialect/Affine/Transforms/CMakeFiles/obj.MLIRAffineTransforms.dir/AffineScalarReplacement.cpp.o
78.297 [3194/105/3872] Building CXX object tools/mlir/lib/Dialect/Affine/Transforms/CMakeFiles/obj.MLIRAffineTransforms.dir/AffineParallelize.cpp.o
78.427 [3191/107/3873] Linking CXX shared library lib/libMLIRAsyncDialect.so.20.0git
FAILED: lib/libMLIRAsyncDialect.so.20.0git 
: && /usr/local/bin/c++ -fPIC -stdlib=libc++ -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -Wundef -Werror=mismatched-tags -Werror=global-constructors -O3 -DNDEBUG  -stdlib=libc++ -Wl,-z,defs -Wl,-z,nodelete   -Wl,-rpath-link,/home/tcwg-buildbot/worker/flang-aarch64-libcxx/build/./lib  -Wl,--gc-sections -shared -Wl,-soname,libMLIRAsyncDialect.so.20.0git -o lib/libMLIRAsyncDialect.so.20.0git tools/mlir/lib/Dialect/Async/IR/CMakeFiles/obj.MLIRAsyncDialect.dir/Async.cpp.o  -Wl,-rpath,"\$ORIGIN/../lib:/home/tcwg-buildbot/worker/flang-aarch64-libcxx/build/lib:"  lib/libMLIRControlFlowInterfaces.so.20.0git  lib/libMLIRFunctionInterfaces.so.20.0git  lib/libMLIRDialect.so.20.0git  lib/libMLIRInferTypeOpInterface.so.20.0git  lib/libMLIRIR.so.20.0git  lib/libMLIRSupport.so.20.0git  lib/libLLVMSupport.so.20.0git  -Wl,-rpath-link,/home/tcwg-buildbot/worker/flang-aarch64-libcxx/build/lib && :
/usr/bin/ld: tools/mlir/lib/Dialect/Async/IR/CMakeFiles/obj.MLIRAsyncDialect.dir/Async.cpp.o: in function `mlir::detail::CallOpInterfaceInterfaceTraits::Model<mlir::async::CallOp>::resolveCallableInTable(mlir::detail::CallOpInterfaceInterfaceTraits::Concept const*, mlir::Operation*, mlir::SymbolTableCollection*)':
Async.cpp:(.text._ZN4mlir6detail30CallOpInterfaceInterfaceTraits5ModelINS_5async6CallOpEE22resolveCallableInTableEPKNS1_7ConceptEPNS_9OperationEPNS_21SymbolTableCollectionE[_ZN4mlir6detail30CallOpInterfaceInterfaceTraits5ModelINS_5async6CallOpEE22resolveCallableInTableEPKNS1_7ConceptEPNS_9OperationEPNS_21SymbolTableCollectionE]+0x64): undefined reference to `mlir::call_interface_impl::resolveCallable(mlir::CallOpInterface, mlir::SymbolTableCollection*)'
/usr/bin/ld: tools/mlir/lib/Dialect/Async/IR/CMakeFiles/obj.MLIRAsyncDialect.dir/Async.cpp.o: in function `mlir::detail::CallOpInterfaceInterfaceTraits::Model<mlir::async::CallOp>::resolveCallable(mlir::detail::CallOpInterfaceInterfaceTraits::Concept const*, mlir::Operation*)':
Async.cpp:(.text._ZN4mlir6detail30CallOpInterfaceInterfaceTraits5ModelINS_5async6CallOpEE15resolveCallableEPKNS1_7ConceptEPNS_9OperationE[_ZN4mlir6detail30CallOpInterfaceInterfaceTraits5ModelINS_5async6CallOpEE15resolveCallableEPKNS1_7ConceptEPNS_9OperationE]+0x60): undefined reference to `mlir::call_interface_impl::resolveCallable(mlir::CallOpInterface, mlir::SymbolTableCollection*)'
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
78.487 [3191/106/3874] Building CXX object tools/mlir/lib/Conversion/ArmSMEToLLVM/CMakeFiles/obj.MLIRArmSMEToLLVM.dir/ArmSMEToLLVM.cpp.o
79.057 [3191/105/3875] Building CXX object tools/mlir/lib/Dialect/Arith/Transforms/CMakeFiles/obj.MLIRArithTransforms.dir/BufferDeallocationOpInterfaceImpl.cpp.o
79.142 [3191/104/3876] Building CXX object tools/mlir/lib/Conversion/FuncToLLVM/CMakeFiles/obj.MLIRFuncToLLVM.dir/FuncToLLVM.cpp.o
79.630 [3191/103/3877] Building CXX object tools/mlir/lib/Dialect/Arith/Transforms/CMakeFiles/obj.MLIRArithTransforms.dir/IntRangeOptimizations.cpp.o
79.722 [3191/102/3878] Building CXX object tools/mlir/lib/Dialect/Affine/Transforms/CMakeFiles/obj.MLIRAffineTransforms.dir/AffineLoopNormalize.cpp.o
79.844 [3191/101/3879] Building CXX object tools/mlir/lib/Dialect/Arith/Transforms/CMakeFiles/obj.MLIRArithTransforms.dir/BufferizableOpInterfaceImpl.cpp.o
80.615 [3191/100/3880] Building CXX object tools/mlir/lib/Dialect/Affine/Transforms/CMakeFiles/obj.MLIRAffineTransforms.dir/LoopTiling.cpp.o
80.903 [3191/99/3881] Building CXX object tools/mlir/lib/Dialect/Affine/Transforms/CMakeFiles/obj.MLIRAffineTransforms.dir/LoopUnroll.cpp.o
81.129 [3191/98/3882] Building CXX object tools/mlir/lib/Dialect/Arith/Transforms/CMakeFiles/obj.MLIRArithTransforms.dir/ReifyValueBounds.cpp.o
81.340 [3191/97/3883] Building CXX object tools/mlir/lib/Dialect/Async/Transforms/CMakeFiles/obj.MLIRAsyncTransforms.dir/AsyncRuntimeRefCountingOpt.cpp.o
81.868 [3191/96/3884] Building CXX object tools/mlir/lib/Dialect/Affine/Transforms/CMakeFiles/obj.MLIRAffineTransforms.dir/SimplifyAffineStructures.cpp.o
82.242 [3191/95/3885] Building CXX object tools/mlir/test/lib/Analysis/CMakeFiles/MLIRTestAnalysis.dir/TestCFGLoopInfo.cpp.o
82.431 [3191/94/3886] Building CXX object tools/mlir/lib/Conversion/VectorToLLVM/CMakeFiles/obj.MLIRVectorToLLVMPass.dir/ConvertVectorToLLVMPass.cpp.o
82.518 [3191/93/3887] Building CXX object tools/mlir/lib/Dialect/Bufferization/Transforms/CMakeFiles/obj.MLIRBufferizationTransforms.dir/BufferViewFlowAnalysis.cpp.o
82.685 [3191/92/3888] Building CXX object tools/mlir/lib/Conversion/SCFToControlFlow/CMakeFiles/obj.MLIRSCFToControlFlow.dir/SCFToControlFlow.cpp.o
82.784 [3191/91/3889] Building CXX object tools/mlir/lib/Conversion/UBToSPIRV/CMakeFiles/obj.MLIRUBToSPIRV.dir/UBToSPIRV.cpp.o
82.859 [3191/90/3890] Building CXX object tools/mlir/lib/Dialect/Arith/Transforms/CMakeFiles/obj.MLIRArithTransforms.dir/EmulateNarrowType.cpp.o
82.973 [3191/89/3891] Building CXX object tools/mlir/lib/Dialect/Func/Extensions/CMakeFiles/obj.MLIRFuncMeshShardingExtensions.dir/MeshShardingExtensions.cpp.o
83.025 [3191/88/3892] Building CXX object tools/mlir/lib/Dialect/Linalg/Transforms/CMakeFiles/obj.MLIRLinalgTransforms.dir/DataLayoutPropagation.cpp.o
83.042 [3191/87/3893] Building CXX object tools/mlir/lib/Conversion/OpenMPToLLVM/CMakeFiles/obj.MLIROpenMPToLLVM.dir/OpenMPToLLVM.cpp.o
83.120 [3191/86/3894] Building CXX object tools/mlir/lib/Dialect/EmitC/Transforms/CMakeFiles/obj.MLIREmitCTransforms.dir/FormExpressions.cpp.o
83.359 [3191/85/3895] Building CXX object tools/mlir/lib/Conversion/SPIRVToLLVM/CMakeFiles/obj.MLIRSPIRVToLLVM.dir/ConvertLaunchFuncToLLVMCalls.cpp.o
83.552 [3191/84/3896] Building CXX object tools/mlir/lib/Dialect/Func/Extensions/CMakeFiles/obj.MLIRFuncInlinerExtension.dir/InlinerExtension.cpp.o
83.560 [3191/83/3897] Building CXX object tools/mlir/lib/Dialect/ArmSME/IR/CMakeFiles/obj.MLIRArmSMEDialect.dir/Utils.cpp.o
83.564 [3191/82/3898] Building CXX object tools/mlir/lib/Dialect/Async/Transforms/CMakeFiles/obj.MLIRAsyncTransforms.dir/AsyncRuntimeRefCounting.cpp.o
83.592 [3191/81/3899] Building CXX object tools/mlir/lib/Dialect/Arith/Transforms/CMakeFiles/obj.MLIRArithTransforms.dir/UnsignedWhenEquivalent.cpp.o
83.640 [3191/80/3900] Building CXX object tools/mlir/lib/Conversion/VectorToSPIRV/CMakeFiles/obj.MLIRVectorToSPIRV.dir/VectorToSPIRVPass.cpp.o
83.733 [3191/79/3901] Building CXX object tools/mlir/lib/Dialect/Affine/Transforms/CMakeFiles/obj.MLIRAffineTransforms.dir/PipelineDataTransfer.cpp.o
83.742 [3191/78/3902] Building CXX object tools/mlir/lib/Conversion/VectorToArmSME/CMakeFiles/obj.MLIRVectorToArmSME.dir/VectorToArmSME.cpp.o
83.746 [3191/77/3903] Building CXX object tools/mlir/lib/Conversion/GPUToROCDL/CMakeFiles/obj.MLIRGPUToROCDLTransforms.dir/LowerGpuOpsToROCDLOps.cpp.o
83.816 [3191/76/3904] Building CXX object tools/mlir/lib/CAPI/Conversion/CMakeFiles/obj.MLIRCAPIConversion.dir/Passes.cpp.o
84.072 [3191/75/3905] Building CXX object tools/mlir/lib/Dialect/Func/Transforms/CMakeFiles/obj.MLIRFuncTransforms.dir/OneToNFuncConversions.cpp.o

```

</details>

https://github.com/llvm/llvm-project/pull/100361


More information about the Mlir-commits mailing list