[Mlir-commits] [mlir] [MLIR][AMDGPU] Add a wrapper for global LDS load intrinsics in AMDGPU (PR #133498)
LLVM Continuous Integration
llvmlistbot at llvm.org
Tue Apr 8 06:24:19 PDT 2025
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `amdgpu-offload-ubuntu-22-cmake-build-only` running on `rocm-docker-ubu-22` while building `mlir` at step 4 "annotate".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/203/builds/6999
<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/amdgpu-offload-cmake.py --jobs=32' (failure)
...
[6819/7736] Linking CXX shared library lib/libFortranSemantics.so.21.0git
[6820/7736] Creating library symlink lib/libFortranSemantics.so
[6821/7736] Linking CXX executable tools/flang/unittests/Evaluate/logical.test
[6822/7736] Linking CXX executable tools/flang/unittests/Evaluate/integer.test
[6823/7736] Linking CXX executable tools/flang/unittests/Evaluate/real.test
[6824/7736] Building CXX object tools/mlir/lib/Dialect/AMDGPU/IR/CMakeFiles/obj.MLIRAMDGPUDialect.dir/AMDGPUDialect.cpp.o
[6825/7736] Linking CXX executable tools/flang/unittests/Evaluate/intrinsics.test
[6826/7736] Linking CXX executable tools/flang/unittests/Evaluate/folding.test
[6827/7736] Linking CXX executable tools/flang/unittests/Evaluate/expression.test
[6828/7736] Linking CXX shared library lib/libMLIRAMDGPUDialect.so.21.0git
FAILED: lib/libMLIRAMDGPUDialect.so.21.0git
: && /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-redundant-move -Wno-pessimizing-move -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 -Wno-deprecated-copy -O3 -DNDEBUG -Wl,-z,defs -Wl,-z,nodelete -Wl,-rpath-link,/home/botworker/bbot/amdgpu-offload-ubuntu-22-cmake-build-only/build/./lib -Wl,--gc-sections -shared -Wl,-soname,libMLIRAMDGPUDialect.so.21.0git -o lib/libMLIRAMDGPUDialect.so.21.0git tools/mlir/lib/Dialect/AMDGPU/IR/CMakeFiles/obj.MLIRAMDGPUDialect.dir/AMDGPUDialect.cpp.o -Wl,-rpath,"\$ORIGIN/../lib:/home/botworker/bbot/amdgpu-offload-ubuntu-22-cmake-build-only/build/lib:" lib/libMLIRROCDLDialect.so.21.0git lib/libMLIRGPUDialect.so.21.0git lib/libMLIRLLVMDialect.so.21.0git lib/libLLVMBitWriter.so.21.0git lib/libLLVMBitReader.so.21.0git lib/libLLVMAsmParser.so.21.0git lib/libLLVMCore.so.21.0git lib/libLLVMBinaryFormat.so.21.0git lib/libMLIRDLTIDialect.so.21.0git lib/libMLIRMemRefDialect.so.21.0git lib/libMLIRMemorySlotInterfaces.so.21.0git lib/libMLIRArithUtils.so.21.0git lib/libMLIRComplexDialect.so.21.0git lib/libMLIRArithDialect.so.21.0git lib/libMLIRCastInterfaces.so.21.0git lib/libMLIRInferIntRangeCommon.so.21.0git lib/libMLIRShapedOpInterfaces.so.21.0git lib/libMLIRUBDialect.so.21.0git lib/libMLIRDialect.so.21.0git lib/libMLIRDialectUtils.so.21.0git lib/libMLIRValueBoundsOpInterface.so.21.0git lib/libMLIRAnalysis.so.21.0git lib/libMLIRSideEffectInterfaces.so.21.0git lib/libMLIRInferIntRangeInterface.so.21.0git lib/libMLIRInferTypeOpInterface.so.21.0git lib/libMLIRControlFlowInterfaces.so.21.0git lib/libMLIRDataLayoutInterfaces.so.21.0git lib/libMLIRLoopLikeInterface.so.21.0git lib/libMLIRFunctionInterfaces.so.21.0git lib/libMLIRCallInterfaces.so.21.0git lib/libMLIRPresburger.so.21.0git lib/libMLIRDestinationStyleOpInterface.so.21.0git lib/libMLIRViewLikeInterface.so.21.0git lib/libMLIRIR.so.21.0git lib/libMLIRSupport.so.21.0git lib/libLLVMSupport.so.21.0git -Wl,-rpath-link,/home/botworker/bbot/amdgpu-offload-ubuntu-22-cmake-build-only/build/lib && :
/usr/bin/ld: tools/mlir/lib/Dialect/AMDGPU/IR/CMakeFiles/obj.MLIRAMDGPUDialect.dir/AMDGPUDialect.cpp.o: in function `mlir::amdgpu::GatherToLDSOp::verify() [clone .localalias]':
AMDGPUDialect.cpp:(.text._ZN4mlir6amdgpu13GatherToLDSOp6verifyEv+0xa0): undefined reference to `mlir::memref::isStaticShapeAndContiguousRowMajor(mlir::MemRefType)'
collect2: error: ld returned 1 exit status
[6829/7736] Building InstCombineTables.inc...
ninja: build stopped: subcommand failed.
['ninja'] exited with return code 1.
The build step threw an exception...
Traceback (most recent call last):
File "/home/botworker/bbot/amdgpu-offload-ubuntu-22-cmake-build-only/build/../llvm-zorg/zorg/buildbot/builders/annotated/amdgpu-offload-cmake.py", line 50, in step
yield
File "/home/botworker/bbot/amdgpu-offload-ubuntu-22-cmake-build-only/build/../llvm-zorg/zorg/buildbot/builders/annotated/amdgpu-offload-cmake.py", line 41, in main
run_command(["ninja"])
File "/home/botworker/bbot/amdgpu-offload-ubuntu-22-cmake-build-only/build/../llvm-zorg/zorg/buildbot/builders/annotated/amdgpu-offload-cmake.py", line 63, in run_command
util.report_run_cmd(cmd, cwd=directory)
File "/home/botworker/bbot/amdgpu-offload-ubuntu-22-cmake-build-only/llvm-zorg/zorg/buildbot/builders/annotated/util.py", line 49, in report_run_cmd
subprocess.check_call(cmd, shell=shell, *args, **kwargs)
File "/usr/lib/python3.10/subprocess.py", line 369, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['ninja']' returned non-zero exit status 1.
@@@STEP_FAILURE@@@
Step 7 (build cmake config) failure: build cmake config (failure)
...
[6819/7736] Linking CXX shared library lib/libFortranSemantics.so.21.0git
[6820/7736] Creating library symlink lib/libFortranSemantics.so
[6821/7736] Linking CXX executable tools/flang/unittests/Evaluate/logical.test
[6822/7736] Linking CXX executable tools/flang/unittests/Evaluate/integer.test
[6823/7736] Linking CXX executable tools/flang/unittests/Evaluate/real.test
[6824/7736] Building CXX object tools/mlir/lib/Dialect/AMDGPU/IR/CMakeFiles/obj.MLIRAMDGPUDialect.dir/AMDGPUDialect.cpp.o
[6825/7736] Linking CXX executable tools/flang/unittests/Evaluate/intrinsics.test
[6826/7736] Linking CXX executable tools/flang/unittests/Evaluate/folding.test
[6827/7736] Linking CXX executable tools/flang/unittests/Evaluate/expression.test
[6828/7736] Linking CXX shared library lib/libMLIRAMDGPUDialect.so.21.0git
FAILED: lib/libMLIRAMDGPUDialect.so.21.0git
: && /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-redundant-move -Wno-pessimizing-move -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 -Wno-deprecated-copy -O3 -DNDEBUG -Wl,-z,defs -Wl,-z,nodelete -Wl,-rpath-link,/home/botworker/bbot/amdgpu-offload-ubuntu-22-cmake-build-only/build/./lib -Wl,--gc-sections -shared -Wl,-soname,libMLIRAMDGPUDialect.so.21.0git -o lib/libMLIRAMDGPUDialect.so.21.0git tools/mlir/lib/Dialect/AMDGPU/IR/CMakeFiles/obj.MLIRAMDGPUDialect.dir/AMDGPUDialect.cpp.o -Wl,-rpath,"\$ORIGIN/../lib:/home/botworker/bbot/amdgpu-offload-ubuntu-22-cmake-build-only/build/lib:" lib/libMLIRROCDLDialect.so.21.0git lib/libMLIRGPUDialect.so.21.0git lib/libMLIRLLVMDialect.so.21.0git lib/libLLVMBitWriter.so.21.0git lib/libLLVMBitReader.so.21.0git lib/libLLVMAsmParser.so.21.0git lib/libLLVMCore.so.21.0git lib/libLLVMBinaryFormat.so.21.0git lib/libMLIRDLTIDialect.so.21.0git lib/libMLIRMemRefDialect.so.21.0git lib/libMLIRMemorySlotInterfaces.so.21.0git lib/libMLIRArithUtils.so.21.0git lib/libMLIRComplexDialect.so.21.0git lib/libMLIRArithDialect.so.21.0git lib/libMLIRCastInterfaces.so.21.0git lib/libMLIRInferIntRangeCommon.so.21.0git lib/libMLIRShapedOpInterfaces.so.21.0git lib/libMLIRUBDialect.so.21.0git lib/libMLIRDialect.so.21.0git lib/libMLIRDialectUtils.so.21.0git lib/libMLIRValueBoundsOpInterface.so.21.0git lib/libMLIRAnalysis.so.21.0git lib/libMLIRSideEffectInterfaces.so.21.0git lib/libMLIRInferIntRangeInterface.so.21.0git lib/libMLIRInferTypeOpInterface.so.21.0git lib/libMLIRControlFlowInterfaces.so.21.0git lib/libMLIRDataLayoutInterfaces.so.21.0git lib/libMLIRLoopLikeInterface.so.21.0git lib/libMLIRFunctionInterfaces.so.21.0git lib/libMLIRCallInterfaces.so.21.0git lib/libMLIRPresburger.so.21.0git lib/libMLIRDestinationStyleOpInterface.so.21.0git lib/libMLIRViewLikeInterface.so.21.0git lib/libMLIRIR.so.21.0git lib/libMLIRSupport.so.21.0git lib/libLLVMSupport.so.21.0git -Wl,-rpath-link,/home/botworker/bbot/amdgpu-offload-ubuntu-22-cmake-build-only/build/lib && :
/usr/bin/ld: tools/mlir/lib/Dialect/AMDGPU/IR/CMakeFiles/obj.MLIRAMDGPUDialect.dir/AMDGPUDialect.cpp.o: in function `mlir::amdgpu::GatherToLDSOp::verify() [clone .localalias]':
AMDGPUDialect.cpp:(.text._ZN4mlir6amdgpu13GatherToLDSOp6verifyEv+0xa0): undefined reference to `mlir::memref::isStaticShapeAndContiguousRowMajor(mlir::MemRefType)'
collect2: error: ld returned 1 exit status
[6829/7736] Building InstCombineTables.inc...
ninja: build stopped: subcommand failed.
['ninja'] exited with return code 1.
The build step threw an exception...
Traceback (most recent call last):
File "/home/botworker/bbot/amdgpu-offload-ubuntu-22-cmake-build-only/build/../llvm-zorg/zorg/buildbot/builders/annotated/amdgpu-offload-cmake.py", line 50, in step
yield
File "/home/botworker/bbot/amdgpu-offload-ubuntu-22-cmake-build-only/build/../llvm-zorg/zorg/buildbot/builders/annotated/amdgpu-offload-cmake.py", line 41, in main
run_command(["ninja"])
File "/home/botworker/bbot/amdgpu-offload-ubuntu-22-cmake-build-only/build/../llvm-zorg/zorg/buildbot/builders/annotated/amdgpu-offload-cmake.py", line 63, in run_command
util.report_run_cmd(cmd, cwd=directory)
File "/home/botworker/bbot/amdgpu-offload-ubuntu-22-cmake-build-only/llvm-zorg/zorg/buildbot/builders/annotated/util.py", line 49, in report_run_cmd
subprocess.check_call(cmd, shell=shell, *args, **kwargs)
File "/usr/lib/python3.10/subprocess.py", line 369, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['ninja']' returned non-zero exit status 1.
program finished with exit code 0
elapsedTime=51.452654
```
</details>
https://github.com/llvm/llvm-project/pull/133498
More information about the Mlir-commits
mailing list