[Mlir-commits] [mlir] [mlir][func] Remove `func-bufferize` pass (PR #114152)

LLVM Continuous Integration llvmlistbot at llvm.org
Tue Nov 19 16:38:35 PST 2024


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `mlir-nvidia` running on `mlir-nvidia` while building `mlir` at step 5 "build-check-mlir-build-only".

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

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

```
Step 5 (build-check-mlir-build-only) failure: build (failure)
...
24.350 [471/16/4533] Creating library symlink lib/libLLVMX86Disassembler.so
24.357 [470/16/4534] Building CXX object tools/mlir/python/CMakeFiles/MLIRPythonModules.extension._mlir.dso.dir/vol/worker/mlir-nvidia/mlir-nvidia/llvm.src/mlir/lib/Bindings/Python/MainModule.cpp.o
24.364 [469/16/4535] Building CXX object tools/mlir/python/CMakeFiles/MLIRPythonModules.extension._mlir.dso.dir/vol/worker/mlir-nvidia/mlir-nvidia/llvm.src/mlir/lib/Bindings/Python/IRAffine.cpp.o
24.373 [468/16/4536] Building CXX object tools/mlir/python/CMakeFiles/MLIRPythonModules.extension._mlir.dso.dir/vol/worker/mlir-nvidia/mlir-nvidia/llvm.src/mlir/lib/Bindings/Python/IRInterfaces.cpp.o
24.380 [467/16/4537] Building CXX object tools/mlir/python/CMakeFiles/MLIRPythonModules.extension._mlir.dso.dir/vol/worker/mlir-nvidia/mlir-nvidia/llvm.src/mlir/lib/Bindings/Python/IRModule.cpp.o
24.387 [466/16/4538] Building CXX object tools/mlir/python/CMakeFiles/MLIRPythonModules.extension._mlir.dso.dir/vol/worker/mlir-nvidia/mlir-nvidia/llvm.src/mlir/lib/Bindings/Python/IRAttributes.cpp.o
24.388 [465/16/4539] Building CXX object tools/mlir/python/CMakeFiles/MLIRPythonModules.extension._mlir.dso.dir/vol/worker/mlir-nvidia/mlir-nvidia/llvm.src/mlir/lib/Bindings/Python/IRCore.cpp.o
24.394 [464/16/4540] Building CXX object tools/mlir/python/CMakeFiles/MLIRPythonModules.extension._mlir.dso.dir/vol/worker/mlir-nvidia/mlir-nvidia/llvm.src/mlir/lib/Bindings/Python/IRTypes.cpp.o
24.403 [463/16/4541] Building CXX object tools/mlir/python/CMakeFiles/MLIRPythonModules.extension._mlir.dso.dir/vol/worker/mlir-nvidia/mlir-nvidia/llvm.src/mlir/lib/Bindings/Python/Pass.cpp.o
24.404 [462/16/4542] Linking CXX shared library lib/libMLIRArithTransforms.so.20.0git
FAILED: lib/libMLIRArithTransforms.so.20.0git 
: && /usr/bin/clang++ -fPIC -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  -Wl,-z,defs -Wl,-z,nodelete -fuse-ld=lld -Wl,--color-diagnostics   -Wl,--gc-sections -shared -Wl,-soname,libMLIRArithTransforms.so.20.0git -o lib/libMLIRArithTransforms.so.20.0git tools/mlir/lib/Dialect/Arith/Transforms/CMakeFiles/obj.MLIRArithTransforms.dir/BufferDeallocationOpInterfaceImpl.cpp.o tools/mlir/lib/Dialect/Arith/Transforms/CMakeFiles/obj.MLIRArithTransforms.dir/BufferizableOpInterfaceImpl.cpp.o tools/mlir/lib/Dialect/Arith/Transforms/CMakeFiles/obj.MLIRArithTransforms.dir/BufferViewFlowOpInterfaceImpl.cpp.o tools/mlir/lib/Dialect/Arith/Transforms/CMakeFiles/obj.MLIRArithTransforms.dir/EmulateUnsupportedFloats.cpp.o tools/mlir/lib/Dialect/Arith/Transforms/CMakeFiles/obj.MLIRArithTransforms.dir/EmulateWideInt.cpp.o tools/mlir/lib/Dialect/Arith/Transforms/CMakeFiles/obj.MLIRArithTransforms.dir/EmulateNarrowType.cpp.o tools/mlir/lib/Dialect/Arith/Transforms/CMakeFiles/obj.MLIRArithTransforms.dir/ExpandOps.cpp.o tools/mlir/lib/Dialect/Arith/Transforms/CMakeFiles/obj.MLIRArithTransforms.dir/IntRangeOptimizations.cpp.o tools/mlir/lib/Dialect/Arith/Transforms/CMakeFiles/obj.MLIRArithTransforms.dir/ReifyValueBounds.cpp.o tools/mlir/lib/Dialect/Arith/Transforms/CMakeFiles/obj.MLIRArithTransforms.dir/UnsignedWhenEquivalent.cpp.o  -Wl,-rpath,"\$ORIGIN/../lib:/vol/worker/mlir-nvidia/mlir-nvidia/llvm.obj/lib:"  lib/libMLIRFuncTransforms.so.20.0git  lib/libMLIRTransforms.so.20.0git  lib/libMLIRTransformUtils.so.20.0git  lib/libMLIRVectorDialect.so.20.0git  lib/libMLIRFuncDialect.so.20.0git  lib/libMLIRSubsetOpInterface.so.20.0git  lib/libMLIRRewrite.so.20.0git  lib/libMLIRRewritePDL.so.20.0git  lib/libMLIRPDLToPDLInterp.so.20.0git  lib/libMLIRPass.so.20.0git  lib/libMLIRPDLInterpDialect.so.20.0git  lib/libMLIRPDLDialect.so.20.0git  lib/libMLIRRuntimeVerifiableOpInterface.so.20.0git  lib/libMLIRTensorDialect.so.20.0git  lib/libMLIRParallelCombiningOpInterface.so.20.0git  lib/libMLIRAffineDialect.so.20.0git  lib/libMLIRMemRefDialect.so.20.0git  lib/libMLIRArithUtils.so.20.0git  lib/libMLIRComplexDialect.so.20.0git  lib/libMLIRArithDialect.so.20.0git  lib/libMLIRCastInterfaces.so.20.0git  lib/libMLIRInferIntRangeCommon.so.20.0git  lib/libMLIRDialect.so.20.0git  lib/libMLIRMemorySlotInterfaces.so.20.0git  lib/libMLIRValueBoundsOpInterface.so.20.0git  lib/libMLIRAnalysis.so.20.0git  lib/libMLIRInferIntRangeInterface.so.20.0git  lib/libMLIRCallInterfaces.so.20.0git  lib/libMLIRControlFlowInterfaces.so.20.0git  lib/libMLIRDataLayoutInterfaces.so.20.0git  lib/libMLIRPresburger.so.20.0git  lib/libMLIRViewLikeInterface.so.20.0git  lib/libMLIRInferTypeOpInterface.so.20.0git  lib/libMLIRLoopLikeInterface.so.20.0git  lib/libMLIRFunctionInterfaces.so.20.0git  lib/libMLIRSideEffectInterfaces.so.20.0git  lib/libMLIRUBDialect.so.20.0git  lib/libMLIRDialectUtils.so.20.0git  lib/libMLIRShapedOpInterfaces.so.20.0git  lib/libMLIRDestinationStyleOpInterface.so.20.0git  lib/libMLIRMaskableOpInterface.so.20.0git  lib/libMLIRMaskingOpInterface.so.20.0git  lib/libMLIRVectorInterfaces.so.20.0git  lib/libMLIRIR.so.20.0git  lib/libMLIRSupport.so.20.0git  lib/libLLVMSupport.so.20.0git  -Wl,-rpath-link,/vol/worker/mlir-nvidia/mlir-nvidia/llvm.obj/lib && :
ld.lld: error: undefined symbol: mlir::bufferization::DeallocationState::getOwnership(mlir::Value, mlir::Block*) const
>>> referenced by BufferDeallocationOpInterfaceImpl.cpp
>>>               tools/mlir/lib/Dialect/Arith/Transforms/CMakeFiles/obj.MLIRArithTransforms.dir/BufferDeallocationOpInterfaceImpl.cpp.o:(mlir::bufferization::detail::BufferDeallocationOpInterfaceInterfaceTraits::FallbackModel<(anonymous namespace)::SelectOpInterface>::materializeUniqueOwnershipForMemref(mlir::bufferization::detail::BufferDeallocationOpInterfaceInterfaceTraits::Concept const*, mlir::Operation*, mlir::bufferization::DeallocationState&, mlir::bufferization::DeallocationOptions const&, mlir::OpBuilder&, mlir::Value))
>>> referenced by BufferDeallocationOpInterfaceImpl.cpp
>>>               tools/mlir/lib/Dialect/Arith/Transforms/CMakeFiles/obj.MLIRArithTransforms.dir/BufferDeallocationOpInterfaceImpl.cpp.o:(mlir::bufferization::detail::BufferDeallocationOpInterfaceInterfaceTraits::FallbackModel<(anonymous namespace)::SelectOpInterface>::materializeUniqueOwnershipForMemref(mlir::bufferization::detail::BufferDeallocationOpInterfaceInterfaceTraits::Concept const*, mlir::Operation*, mlir::bufferization::DeallocationState&, mlir::bufferization::DeallocationOptions const&, mlir::OpBuilder&, mlir::Value))
>>> referenced by BufferDeallocationOpInterfaceImpl.cpp
>>>               tools/mlir/lib/Dialect/Arith/Transforms/CMakeFiles/obj.MLIRArithTransforms.dir/BufferDeallocationOpInterfaceImpl.cpp.o:(mlir::bufferization::detail::BufferDeallocationOpInterfaceInterfaceTraits::FallbackModel<(anonymous namespace)::SelectOpInterface>::materializeUniqueOwnershipForMemref(mlir::bufferization::detail::BufferDeallocationOpInterfaceInterfaceTraits::Concept const*, mlir::Operation*, mlir::bufferization::DeallocationState&, mlir::bufferization::DeallocationOptions const&, mlir::OpBuilder&, mlir::Value))
>>> referenced 1 more times

ld.lld: error: undefined symbol: mlir::bufferization::Ownership::isUnique() const
>>> referenced by BufferDeallocationOpInterfaceImpl.cpp
>>>               tools/mlir/lib/Dialect/Arith/Transforms/CMakeFiles/obj.MLIRArithTransforms.dir/BufferDeallocationOpInterfaceImpl.cpp.o:(mlir::bufferization::detail::BufferDeallocationOpInterfaceInterfaceTraits::FallbackModel<(anonymous namespace)::SelectOpInterface>::materializeUniqueOwnershipForMemref(mlir::bufferization::detail::BufferDeallocationOpInterfaceInterfaceTraits::Concept const*, mlir::Operation*, mlir::bufferization::DeallocationState&, mlir::bufferization::DeallocationOptions const&, mlir::OpBuilder&, mlir::Value))
>>> referenced by BufferDeallocationOpInterfaceImpl.cpp
>>>               tools/mlir/lib/Dialect/Arith/Transforms/CMakeFiles/obj.MLIRArithTransforms.dir/BufferDeallocationOpInterfaceImpl.cpp.o:(mlir::bufferization::detail::BufferDeallocationOpInterfaceInterfaceTraits::FallbackModel<(anonymous namespace)::SelectOpInterface>::materializeUniqueOwnershipForMemref(mlir::bufferization::detail::BufferDeallocationOpInterfaceInterfaceTraits::Concept const*, mlir::Operation*, mlir::bufferization::DeallocationState&, mlir::bufferization::DeallocationOptions const&, mlir::OpBuilder&, mlir::Value))

ld.lld: error: undefined symbol: mlir::bufferization::Ownership::getIndicator() const
>>> referenced by BufferDeallocationOpInterfaceImpl.cpp
>>>               tools/mlir/lib/Dialect/Arith/Transforms/CMakeFiles/obj.MLIRArithTransforms.dir/BufferDeallocationOpInterfaceImpl.cpp.o:(mlir::bufferization::detail::BufferDeallocationOpInterfaceInterfaceTraits::FallbackModel<(anonymous namespace)::SelectOpInterface>::materializeUniqueOwnershipForMemref(mlir::bufferization::detail::BufferDeallocationOpInterfaceInterfaceTraits::Concept const*, mlir::Operation*, mlir::bufferization::DeallocationState&, mlir::bufferization::DeallocationOptions const&, mlir::OpBuilder&, mlir::Value))
>>> referenced by BufferDeallocationOpInterfaceImpl.cpp
>>>               tools/mlir/lib/Dialect/Arith/Transforms/CMakeFiles/obj.MLIRArithTransforms.dir/BufferDeallocationOpInterfaceImpl.cpp.o:(mlir::bufferization::detail::BufferDeallocationOpInterfaceInterfaceTraits::FallbackModel<(anonymous namespace)::SelectOpInterface>::materializeUniqueOwnershipForMemref(mlir::bufferization::detail::BufferDeallocationOpInterfaceInterfaceTraits::Concept const*, mlir::Operation*, mlir::bufferization::DeallocationState&, mlir::bufferization::DeallocationOptions const&, mlir::OpBuilder&, mlir::Value))

ld.lld: error: undefined symbol: mlir::bufferization::DeallocationState::getMemrefWithUniqueOwnership(mlir::OpBuilder&, mlir::Value, mlir::Block*)
>>> referenced by BufferDeallocationOpInterfaceImpl.cpp
>>>               tools/mlir/lib/Dialect/Arith/Transforms/CMakeFiles/obj.MLIRArithTransforms.dir/BufferDeallocationOpInterfaceImpl.cpp.o:(mlir::bufferization::detail::BufferDeallocationOpInterfaceInterfaceTraits::FallbackModel<(anonymous namespace)::SelectOpInterface>::materializeUniqueOwnershipForMemref(mlir::bufferization::detail::BufferDeallocationOpInterfaceInterfaceTraits::Concept const*, mlir::Operation*, mlir::bufferization::DeallocationState&, mlir::bufferization::DeallocationOptions const&, mlir::OpBuilder&, mlir::Value))

ld.lld: error: undefined symbol: mlir::bufferization::detail::defaultResultBufferizesToMemoryWrite(mlir::OpResult, mlir::bufferization::AnalysisState const&)
>>> referenced by BufferizableOpInterfaceImpl.cpp
>>>               tools/mlir/lib/Dialect/Arith/Transforms/CMakeFiles/obj.MLIRArithTransforms.dir/BufferizableOpInterfaceImpl.cpp.o:(mlir::bufferization::detail::BufferizableOpInterfaceInterfaceTraits::FallbackModel<(anonymous namespace)::ConstantOpInterface>::resultBufferizesToMemoryWrite(mlir::bufferization::detail::BufferizableOpInterfaceInterfaceTraits::Concept const*, mlir::Operation*, mlir::OpResult, mlir::bufferization::AnalysisState const&))
>>> referenced by BufferizableOpInterfaceImpl.cpp
>>>               tools/mlir/lib/Dialect/Arith/Transforms/CMakeFiles/obj.MLIRArithTransforms.dir/BufferizableOpInterfaceImpl.cpp.o:(mlir::bufferization::detail::BufferizableOpInterfaceInterfaceTraits::FallbackModel<(anonymous namespace)::IndexCastOpInterface>::resultBufferizesToMemoryWrite(mlir::bufferization::detail::BufferizableOpInterfaceInterfaceTraits::Concept const*, mlir::Operation*, mlir::OpResult, mlir::bufferization::AnalysisState const&))
>>> referenced by BufferizableOpInterfaceImpl.cpp
>>>               tools/mlir/lib/Dialect/Arith/Transforms/CMakeFiles/obj.MLIRArithTransforms.dir/BufferizableOpInterfaceImpl.cpp.o:(mlir::bufferization::detail::BufferizableOpInterfaceInterfaceTraits::FallbackModel<(anonymous namespace)::SelectOpInterface>::resultBufferizesToMemoryWrite(mlir::bufferization::detail::BufferizableOpInterfaceInterfaceTraits::Concept const*, mlir::Operation*, mlir::OpResult, mlir::bufferization::AnalysisState const&))

ld.lld: error: undefined symbol: mlir::bufferization::detail::defaultGetAliasingOpOperands(mlir::Value, mlir::bufferization::AnalysisState const&)
>>> referenced by BufferizableOpInterfaceImpl.cpp
>>>               tools/mlir/lib/Dialect/Arith/Transforms/CMakeFiles/obj.MLIRArithTransforms.dir/BufferizableOpInterfaceImpl.cpp.o:(mlir::bufferization::detail::BufferizableOpInterfaceInterfaceTraits::FallbackModel<(anonymous namespace)::ConstantOpInterface>::getAliasingOpOperands(mlir::bufferization::detail::BufferizableOpInterfaceInterfaceTraits::Concept const*, mlir::Operation*, mlir::Value, mlir::bufferization::AnalysisState const&))
>>> referenced by BufferizableOpInterfaceImpl.cpp

```

</details>

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


More information about the Mlir-commits mailing list