[Mlir-commits] [mlir] [MLIR][XeGPU] Update the type of offsets for CreateDescOp and UpdateOffsetOp (PR #110741)

LLVM Continuous Integration llvmlistbot at llvm.org
Wed Oct 2 07:26:20 PDT 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/4517

<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)
...
37.504 [97/16/4885] Creating library symlink lib/libMLIRSCFToGPU.so
37.544 [96/16/4886] Linking CXX shared library lib/libMLIRGPUTransformOps.so.20.0git
37.552 [95/16/4887] Creating library symlink lib/libMLIRGPUTransformOps.so
37.646 [94/16/4888] Linking CXX shared library lib/libMLIRGPUPipelines.so.20.0git
37.656 [93/16/4889] Creating library symlink lib/libMLIRGPUPipelines.so
37.684 [92/16/4890] Linking CXX shared library lib/libMLIRNVGPUTransformOps.so.20.0git
37.693 [91/16/4891] Creating library symlink lib/libMLIRNVGPUTransformOps.so
37.728 [90/16/4892] Linking CXX shared library lib/libMLIRSparseTensorPipelines.so.20.0git
37.738 [89/16/4893] Creating library symlink lib/libMLIRSparseTensorPipelines.so
37.779 [88/16/4894] Linking CXX shared library lib/libMLIRXeGPUDialect.so.20.0git
FAILED: lib/libMLIRXeGPUDialect.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,libMLIRXeGPUDialect.so.20.0git -o lib/libMLIRXeGPUDialect.so.20.0git tools/mlir/lib/Dialect/XeGPU/IR/CMakeFiles/obj.MLIRXeGPUDialect.dir/XeGPUDialect.cpp.o tools/mlir/lib/Dialect/XeGPU/IR/CMakeFiles/obj.MLIRXeGPUDialect.dir/XeGPUOps.cpp.o  -Wl,-rpath,"\$ORIGIN/../lib:/vol/worker/mlir-nvidia/mlir-nvidia/llvm.obj/lib:"  lib/libMLIRArithDialect.so.20.0git  lib/libMLIRDialectUtils.so.20.0git  lib/libMLIRViewLikeInterface.so.20.0git  lib/libMLIRCastInterfaces.so.20.0git  lib/libMLIRDialect.so.20.0git  lib/libMLIRInferIntRangeCommon.so.20.0git  lib/libMLIRInferIntRangeInterface.so.20.0git  lib/libMLIRInferTypeOpInterface.so.20.0git  lib/libMLIRUBDialect.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::getValueOrCreateConstantIndexOp(mlir::OpBuilder&, mlir::Location, llvm::ArrayRef<mlir::OpFoldResult>)
>>> referenced by XeGPUOps.cpp
>>>               tools/mlir/lib/Dialect/XeGPU/IR/CMakeFiles/obj.MLIRXeGPUDialect.dir/XeGPUOps.cpp.o:(mlir::xegpu::CreateDescOp::build(mlir::OpBuilder&, mlir::OperationState&, mlir::xegpu::TensorDescType, mlir::Value, llvm::ArrayRef<mlir::OpFoldResult>))
>>> referenced by XeGPUOps.cpp
>>>               tools/mlir/lib/Dialect/XeGPU/IR/CMakeFiles/obj.MLIRXeGPUDialect.dir/XeGPUOps.cpp.o:(mlir::xegpu::UpdateOffsetOp::build(mlir::OpBuilder&, mlir::OperationState&, mlir::Value, llvm::ArrayRef<mlir::OpFoldResult>))

ld.lld: error: undefined symbol: mlir::detail::TypeIDResolver<mlir::vector::FromElementsOp, void>::id
>>> referenced by XeGPUOps.cpp
>>>               tools/mlir/lib/Dialect/XeGPU/IR/CMakeFiles/obj.MLIRXeGPUDialect.dir/XeGPUOps.cpp.o:(mlir::vector::FromElementsOp mlir::OpBuilder::create<mlir::vector::FromElementsOp, mlir::VectorType&, llvm::SmallVector<mlir::Value, 6u>&>(mlir::Location, mlir::VectorType&, llvm::SmallVector<mlir::Value, 6u>&))
>>> referenced by XeGPUOps.cpp
>>>               tools/mlir/lib/Dialect/XeGPU/IR/CMakeFiles/obj.MLIRXeGPUDialect.dir/XeGPUOps.cpp.o:(llvm::DefaultDoCastIfPossible<mlir::vector::FromElementsOp, mlir::Operation*, llvm::CastInfo<mlir::vector::FromElementsOp, mlir::Operation*, void> >::doCastIfPossible(mlir::Operation*))

ld.lld: error: undefined symbol: mlir::vector::FromElementsOp::build(mlir::OpBuilder&, mlir::OperationState&, mlir::Type, mlir::ValueRange)
>>> referenced by XeGPUOps.cpp
>>>               tools/mlir/lib/Dialect/XeGPU/IR/CMakeFiles/obj.MLIRXeGPUDialect.dir/XeGPUOps.cpp.o:(mlir::vector::FromElementsOp mlir::OpBuilder::create<mlir::vector::FromElementsOp, mlir::VectorType&, llvm::SmallVector<mlir::Value, 6u>&>(mlir::Location, mlir::VectorType&, llvm::SmallVector<mlir::Value, 6u>&))
clang: error: linker command failed with exit code 1 (use -v to see invocation)
37.847 [88/15/4895] Linking CXX shared library lib/libMLIRExecutionEngine.so.20.0git
37.915 [88/14/4896] Linking CXX shared library lib/libMLIRLinalgTestPasses.so.20.0git
56.590 [88/13/4897] Building CXX object tools/mlir/tools/mlir-query/CMakeFiles/mlir-query.dir/mlir-query.cpp.o
62.514 [88/12/4898] Building CXX object tools/mlir/tools/mlir-lsp-server/CMakeFiles/mlir-lsp-server.dir/mlir-lsp-server.cpp.o
64.287 [88/11/4899] Building CXX object tools/mlir/tools/mlir-opt/CMakeFiles/MLIRMlirOptMain.dir/mlir-opt.cpp.o
66.921 [88/10/4900] Building CXX object tools/mlir/tools/mlir-opt/CMakeFiles/mlir-opt.dir/mlir-opt.cpp.o
69.445 [88/9/4901] Building CXX object tools/mlir/unittests/Target/LLVM/CMakeFiles/MLIRTargetLLVMTests.dir/SerializeNVVMTarget.cpp.o
69.875 [88/8/4902] Building CXX object tools/mlir/unittests/Target/LLVM/CMakeFiles/MLIRTargetLLVMTests.dir/SerializeROCDLTarget.cpp.o
69.937 [88/7/4903] Building CXX object tools/mlir/tools/mlir-reduce/CMakeFiles/mlir-reduce.dir/mlir-reduce.cpp.o
72.251 [88/6/4904] Building CXX object tools/mlir/examples/toy/Ch5/CMakeFiles/toyc-ch5.dir/toyc.cpp.o
73.127 [88/5/4905] Building CXX object tools/mlir/lib/CAPI/RegisterEverything/CMakeFiles/obj.MLIRCAPIRegisterEverything.dir/RegisterEverything.cpp.o
74.049 [88/4/4906] Building CXX object tools/mlir/unittests/ExecutionEngine/CMakeFiles/MLIRExecutionEngineTests.dir/Invoke.cpp.o
75.437 [88/3/4907] Building CXX object tools/mlir/examples/transform/Ch2/CMakeFiles/transform-opt-ch2.dir/transform-opt/transform-opt.cpp.o
78.629 [88/2/4908] Building CXX object tools/mlir/examples/toy/Ch6/CMakeFiles/toyc-ch6.dir/toyc.cpp.o
78.863 [88/1/4909] Building CXX object tools/mlir/examples/toy/Ch7/CMakeFiles/toyc-ch7.dir/toyc.cpp.o
ninja: build stopped: subcommand failed.

```

</details>

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


More information about the Mlir-commits mailing list