[Mlir-commits] [mlir] [mlir] [XeGPU] Add XeGPU workgroup to subgroup pass (PR #139477)
LLVM Continuous Integration
llvmlistbot at llvm.org
Tue May 20 10:47:38 PDT 2025
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `amdgpu-offload-rhel-8-cmake-build-only` running on `rocm-docker-rhel-8` while building `mlir` at step 4 "annotate".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/204/builds/9903
<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)
...
[6693/7805] Building CXX object tools/llvm-yaml-numeric-parser-fuzzer/CMakeFiles/llvm-yaml-numeric-parser-fuzzer.dir/yaml-numeric-parser-fuzzer.cpp.o
[6694/7805] Building CXX object tools/llvm-yaml-parser-fuzzer/CMakeFiles/llvm-yaml-parser-fuzzer.dir/yaml-parser-fuzzer.cpp.o
[6695/7805] Linking CXX executable bin/llvm-rc
[6696/7805] Linking CXX executable bin/llvm-readtapi
[6697/7805] Building CXX object tools/obj2yaml/CMakeFiles/obj2yaml.dir/archive2yaml.cpp.o
[6698/7805] Building CXX object tools/obj2yaml/CMakeFiles/obj2yaml.dir/coff2yaml.cpp.o
[6699/7805] Building CXX object tools/obj2yaml/CMakeFiles/obj2yaml.dir/dwarf2yaml.cpp.o
[6700/7805] Building CXX object tools/obj2yaml/CMakeFiles/obj2yaml.dir/obj2yaml.cpp.o
[6701/7805] Building CXX object tools/obj2yaml/CMakeFiles/obj2yaml.dir/dxcontainer2yaml.cpp.o
[6702/7805] Linking CXX shared library lib/libMLIRXeGPUTransforms.so.21.0git
FAILED: lib/libMLIRXeGPUTransforms.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-noexcept-type -Wno-unnecessary-virtual-specifier -Wdelete-non-virtual-dtor -Wno-comment -Wno-misleading-indentation -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-rhel-8-cmake-build-only/build/./lib -Wl,--gc-sections -shared -Wl,-soname,libMLIRXeGPUTransforms.so.21.0git -o lib/libMLIRXeGPUTransforms.so.21.0git tools/mlir/lib/Dialect/XeGPU/Transforms/CMakeFiles/obj.MLIRXeGPUTransforms.dir/XeGPUFoldAliasOps.cpp.o tools/mlir/lib/Dialect/XeGPU/Transforms/CMakeFiles/obj.MLIRXeGPUTransforms.dir/XeGPUSubgroupDistribute.cpp.o tools/mlir/lib/Dialect/XeGPU/Transforms/CMakeFiles/obj.MLIRXeGPUTransforms.dir/XeGPUUnroll.cpp.o tools/mlir/lib/Dialect/XeGPU/Transforms/CMakeFiles/obj.MLIRXeGPUTransforms.dir/XeGPUWgToSgDistribute.cpp.o -Wl,-rpath,"\$ORIGIN/../lib:/home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/build/lib:" lib/libMLIRXeGPUUtils.so.21.0git lib/libMLIRVectorTransforms.so.21.0git lib/libMLIRXeGPUDialect.so.21.0git lib/libMLIRAffineUtils.so.21.0git lib/libMLIRTransforms.so.21.0git lib/libMLIRTransformUtils.so.21.0git lib/libMLIRRewrite.so.21.0git lib/libMLIRRewritePDL.so.21.0git lib/libMLIRPDLToPDLInterp.so.21.0git lib/libMLIRPass.so.21.0git lib/libMLIRPDLInterpDialect.so.21.0git lib/libMLIRPDLDialect.so.21.0git lib/libMLIRRuntimeVerifiableOpInterface.so.21.0git lib/libMLIRGPUUtils.so.21.0git lib/libMLIRGPUDialect.so.21.0git lib/libMLIRDLTIDialect.so.21.0git lib/libMLIRLinalgDialect.so.21.0git lib/libMLIRBufferizationDialect.so.21.0git lib/libMLIRParser.so.21.0git lib/libMLIRBytecodeReader.so.21.0git lib/libMLIRAsmParser.so.21.0git lib/libMLIRSparseTensorDialect.so.21.0git lib/libMLIRMathDialect.so.21.0git lib/libMLIRMemRefUtils.so.21.0git lib/libMLIRSubsetOpInterface.so.21.0git lib/libMLIRVectorUtils.so.21.0git lib/libMLIRAffineAnalysis.so.21.0git lib/libMLIRSCFDialect.so.21.0git lib/libMLIRControlFlowDialect.so.21.0git lib/libMLIRFuncDialect.so.21.0git lib/libMLIRVectorDialect.so.21.0git lib/libMLIRMaskableOpInterface.so.21.0git lib/libMLIRMaskingOpInterface.so.21.0git lib/libMLIRTensorDialect.so.21.0git lib/libMLIRAffineDialect.so.21.0git lib/libMLIRMemRefDialect.so.21.0git lib/libMLIRMemorySlotInterfaces.so.21.0git lib/libMLIRArithUtils.so.21.0git lib/libMLIRDialectUtils.so.21.0git lib/libMLIRValueBoundsOpInterface.so.21.0git lib/libMLIRAnalysis.so.21.0git lib/libMLIRViewLikeInterface.so.21.0git lib/libMLIRControlFlowInterfaces.so.21.0git lib/libMLIRSideEffectInterfaces.so.21.0git lib/libMLIRLoopLikeInterface.so.21.0git lib/libMLIRFunctionInterfaces.so.21.0git lib/libMLIRCallInterfaces.so.21.0git lib/libMLIRPresburger.so.21.0git lib/libMLIRDataLayoutInterfaces.so.21.0git lib/libMLIRComplexDialect.so.21.0git lib/libMLIRArithDialect.so.21.0git lib/libMLIRInferIntRangeCommon.so.21.0git lib/libMLIRShapedOpInterfaces.so.21.0git lib/libMLIRInferIntRangeInterface.so.21.0git lib/libMLIRUBDialect.so.21.0git lib/libMLIRDialect.so.21.0git lib/libMLIRInferTypeOpInterface.so.21.0git lib/libMLIRCastInterfaces.so.21.0git lib/libMLIRDestinationStyleOpInterface.so.21.0git lib/libMLIRParallelCombiningOpInterface.so.21.0git lib/libMLIRVectorInterfaces.so.21.0git lib/libMLIRIR.so.21.0git lib/libMLIRSupport.so.21.0git -lpthread lib/libLLVMSupport.so.21.0git -Wl,-rpath-link,/home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/build/lib && :
tools/mlir/lib/Dialect/XeGPU/Transforms/CMakeFiles/obj.MLIRXeGPUTransforms.dir/XeGPUWgToSgDistribute.cpp.o: In function `mlir::xegpu::impl::XeGPUWgToSgDistributeBase<(anonymous namespace)::XeGPUWgToSgDistributePass>::getDependentDialects(mlir::DialectRegistry&) const':
XeGPUWgToSgDistribute.cpp:(.text._ZNK4mlir5xegpu4impl25XeGPUWgToSgDistributeBaseIN12_GLOBAL__N_125XeGPUWgToSgDistributePassEE20getDependentDialectsERNS_15DialectRegistryE+0x18a): undefined reference to `mlir::detail::TypeIDResolver<mlir::index::IndexDialect, void>::id'
tools/mlir/lib/Dialect/XeGPU/Transforms/CMakeFiles/obj.MLIRXeGPUTransforms.dir/XeGPUWgToSgDistribute.cpp.o: In function `std::_Function_handler<mlir::Dialect* (mlir::MLIRContext*), mlir::DialectRegistry::insert<mlir::index::IndexDialect>()::{lambda(mlir::MLIRContext*)#1}>::_M_invoke(std::_Any_data const&, mlir::MLIRContext*&&)':
XeGPUWgToSgDistribute.cpp:(.text._ZNSt17_Function_handlerIFPN4mlir7DialectEPNS0_11MLIRContextEEZNS0_15DialectRegistry6insertINS0_5index12IndexDialectEEEvvEUlS4_E_E9_M_invokeERKSt9_Any_dataOS4_[_ZNSt17_Function_handlerIFPN4mlir7DialectEPNS0_11MLIRContextEEZNS0_15DialectRegistry6insertINS0_5index12IndexDialectEEEvvEUlS4_E_E9_M_invokeERKSt9_Any_dataOS4_]+0xa): undefined reference to `mlir::detail::TypeIDResolver<mlir::index::IndexDialect, void>::id'
tools/mlir/lib/Dialect/XeGPU/Transforms/CMakeFiles/obj.MLIRXeGPUTransforms.dir/XeGPUWgToSgDistribute.cpp.o: In function `std::unique_ptr<mlir::Dialect, std::default_delete<mlir::Dialect> > llvm::function_ref<std::unique_ptr<mlir::Dialect, std::default_delete<mlir::Dialect> > ()>::callback_fn<mlir::MLIRContext::getOrLoadDialect<mlir::index::IndexDialect>()::{lambda()#1}>(long)':
XeGPUWgToSgDistribute.cpp:(.text._ZN4llvm12function_refIFSt10unique_ptrIN4mlir7DialectESt14default_deleteIS3_EEvEE11callback_fnIZNS2_11MLIRContext16getOrLoadDialectINS2_5index12IndexDialectEEEPT_vEUlvE_EES6_l[_ZN4llvm12function_refIFSt10unique_ptrIN4mlir7DialectESt14default_deleteIS3_EEvEE11callback_fnIZNS2_11MLIRContext16getOrLoadDialectINS2_5index12IndexDialectEEEPT_vEUlvE_EES6_l]+0x1f): undefined reference to `mlir::index::IndexDialect::IndexDialect(mlir::MLIRContext*)'
tools/mlir/lib/Dialect/XeGPU/Transforms/CMakeFiles/obj.MLIRXeGPUTransforms.dir/XeGPUWgToSgDistribute.cpp.o: In function `(anonymous namespace)::WgToSgCreateNdOp::calculateGlobalOffsets(mlir::ConversionPatternRewriter&, mlir::Location, llvm::SmallVector<mlir::OpFoldResult, 6u> const&, llvm::SmallVector<mlir::Value, 6u> const&, llvm::SmallVector<long, 6u> const&, llvm::SmallVector<long, 6u> const&) const [clone .isra.407]':
XeGPUWgToSgDistribute.cpp:(.text._ZNK12_GLOBAL__N_116WgToSgCreateNdOp22calculateGlobalOffsetsERN4mlir25ConversionPatternRewriterENS1_8LocationERKN4llvm11SmallVectorINS1_12OpFoldResultELj6EEERKNS6_INS1_5ValueELj6EEERKNS6_IlLj6EEESH_.isra.407+0x25c): undefined reference to `mlir::detail::TypeIDResolver<mlir::index::AddOp, void>::id'
XeGPUWgToSgDistribute.cpp:(.text._ZNK12_GLOBAL__N_116WgToSgCreateNdOp22calculateGlobalOffsetsERN4mlir25ConversionPatternRewriterENS1_8LocationERKN4llvm11SmallVectorINS1_12OpFoldResultELj6EEERKNS6_INS1_5ValueELj6EEERKNS6_IlLj6EEESH_.isra.407+0x2a1): undefined reference to `mlir::index::AddOp::build(mlir::OpBuilder&, mlir::OperationState&, mlir::Value, mlir::Value)'
XeGPUWgToSgDistribute.cpp:(.text._ZNK12_GLOBAL__N_116WgToSgCreateNdOp22calculateGlobalOffsetsERN4mlir25ConversionPatternRewriterENS1_8LocationERKN4llvm11SmallVectorINS1_12OpFoldResultELj6EEERKNS6_INS1_5ValueELj6EEERKNS6_IlLj6EEESH_.isra.407+0x525): undefined reference to `mlir::detail::TypeIDResolver<mlir::index::RemUOp, void>::id'
XeGPUWgToSgDistribute.cpp:(.text._ZNK12_GLOBAL__N_116WgToSgCreateNdOp22calculateGlobalOffsetsERN4mlir25ConversionPatternRewriterENS1_8LocationERKN4llvm11SmallVectorINS1_12OpFoldResultELj6EEERKNS6_INS1_5ValueELj6EEERKNS6_IlLj6EEESH_.isra.407+0x55e): undefined reference to `mlir::index::RemUOp::build(mlir::OpBuilder&, mlir::OperationState&, mlir::Value, mlir::Value)'
XeGPUWgToSgDistribute.cpp:(.text._ZNK12_GLOBAL__N_116WgToSgCreateNdOp22calculateGlobalOffsetsERN4mlir25ConversionPatternRewriterENS1_8LocationERKN4llvm11SmallVectorINS1_12OpFoldResultELj6EEERKNS6_INS1_5ValueELj6EEERKNS6_IlLj6EEESH_.isra.407+0x770): undefined reference to `mlir::detail::TypeIDResolver<mlir::index::AddOp, void>::id'
XeGPUWgToSgDistribute.cpp:(.text._ZNK12_GLOBAL__N_116WgToSgCreateNdOp22calculateGlobalOffsetsERN4mlir25ConversionPatternRewriterENS1_8LocationERKN4llvm11SmallVectorINS1_12OpFoldResultELj6EEERKNS6_INS1_5ValueELj6EEERKNS6_IlLj6EEESH_.isra.407+0x7a4): undefined reference to `mlir::index::AddOp::build(mlir::OpBuilder&, mlir::OperationState&, mlir::Value, mlir::Value)'
tools/mlir/lib/Dialect/XeGPU/Transforms/CMakeFiles/obj.MLIRXeGPUTransforms.dir/XeGPUWgToSgDistribute.cpp.o: In function `(anonymous namespace)::WgToSgCreateNdOp::matchAndRewrite(mlir::xegpu::CreateNdDescOp, mlir::xegpu::CreateNdDescOpGenericAdaptor<llvm::ArrayRef<mlir::ValueRange> >, mlir::ConversionPatternRewriter&) const':
XeGPUWgToSgDistribute.cpp:(.text._ZNK12_GLOBAL__N_116WgToSgCreateNdOp15matchAndRewriteEN4mlir5xegpu14CreateNdDescOpENS2_28CreateNdDescOpGenericAdaptorIN4llvm8ArrayRefINS1_10ValueRangeEEEEERNS1_25ConversionPatternRewriterE+0xe13): undefined reference to `mlir::detail::TypeIDResolver<mlir::index::MulOp, void>::id'
XeGPUWgToSgDistribute.cpp:(.text._ZNK12_GLOBAL__N_116WgToSgCreateNdOp15matchAndRewriteEN4mlir5xegpu14CreateNdDescOpENS2_28CreateNdDescOpGenericAdaptorIN4llvm8ArrayRefINS1_10ValueRangeEEEEERNS1_25ConversionPatternRewriterE+0xe5d): undefined reference to `mlir::index::MulOp::build(mlir::OpBuilder&, mlir::OperationState&, mlir::Value, mlir::Value)'
collect2: error: ld returned 1 exit status
[6703/7805] Linking CXX executable bin/llvm-stress
[6704/7805] Generating ../../bin/llvm-windres
[6705/7805] Building CXX object tools/obj2yaml/CMakeFiles/obj2yaml.dir/minidump2yaml.cpp.o
[6706/7805] Building CXX object tools/remarks-shlib/CMakeFiles/Remarks.dir/libremarks.cpp.o
[6707/7805] Building CXX object tools/obj2yaml/CMakeFiles/obj2yaml.dir/macho2yaml.cpp.o
[6708/7805] Building CXX object tools/obj2yaml/CMakeFiles/obj2yaml.dir/elf2yaml.cpp.o
[6709/7805] Building CXX object tools/obj2yaml/CMakeFiles/obj2yaml.dir/offload2yaml.cpp.o
[6710/7805] Building CXX object tools/obj2yaml/CMakeFiles/obj2yaml.dir/xcoff2yaml.cpp.o
[6711/7805] Linking CXX executable bin/llvm-symbolizer
[6712/7805] Linking CXX executable bin/llvm-strings
[6713/7805] Building CXX object tools/obj2yaml/CMakeFiles/obj2yaml.dir/wasm2yaml.cpp.o
[6714/7805] Building CXX object tools/opt/CMakeFiles/obj.LLVMOptDriver.dir/optdriver.cpp.o
In file included from /home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/llvm-project/llvm/include/llvm/IR/Argument.h:18,
from /home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/llvm-project/llvm/include/llvm/IR/Function.h:25,
from /home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/llvm-project/llvm/include/llvm/IR/InstrTypes.h:28,
from /home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/llvm-project/llvm/include/llvm/Analysis/CallGraph.h:48,
from /home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/llvm-project/llvm/tools/opt/optdriver.cpp:16:
/home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/llvm-project/llvm/include/llvm/IR/Value.h: In static member function ‘static bool llvm::isa_impl<llvm::ConstantData, llvm::Value>::doit(const llvm::Value&)’:
/home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/llvm-project/llvm/include/llvm/IR/Value.h:997:29: warning: comparison of unsigned expression >= 0 is always true [-Wtype-limits]
return Val.getValueID() >= Value::ConstantDataFirstVal &&
Step 7 (build cmake config) failure: build cmake config (failure)
...
[6693/7805] Building CXX object tools/llvm-yaml-numeric-parser-fuzzer/CMakeFiles/llvm-yaml-numeric-parser-fuzzer.dir/yaml-numeric-parser-fuzzer.cpp.o
[6694/7805] Building CXX object tools/llvm-yaml-parser-fuzzer/CMakeFiles/llvm-yaml-parser-fuzzer.dir/yaml-parser-fuzzer.cpp.o
[6695/7805] Linking CXX executable bin/llvm-rc
[6696/7805] Linking CXX executable bin/llvm-readtapi
[6697/7805] Building CXX object tools/obj2yaml/CMakeFiles/obj2yaml.dir/archive2yaml.cpp.o
[6698/7805] Building CXX object tools/obj2yaml/CMakeFiles/obj2yaml.dir/coff2yaml.cpp.o
[6699/7805] Building CXX object tools/obj2yaml/CMakeFiles/obj2yaml.dir/dwarf2yaml.cpp.o
[6700/7805] Building CXX object tools/obj2yaml/CMakeFiles/obj2yaml.dir/obj2yaml.cpp.o
[6701/7805] Building CXX object tools/obj2yaml/CMakeFiles/obj2yaml.dir/dxcontainer2yaml.cpp.o
[6702/7805] Linking CXX shared library lib/libMLIRXeGPUTransforms.so.21.0git
FAILED: lib/libMLIRXeGPUTransforms.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-noexcept-type -Wno-unnecessary-virtual-specifier -Wdelete-non-virtual-dtor -Wno-comment -Wno-misleading-indentation -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-rhel-8-cmake-build-only/build/./lib -Wl,--gc-sections -shared -Wl,-soname,libMLIRXeGPUTransforms.so.21.0git -o lib/libMLIRXeGPUTransforms.so.21.0git tools/mlir/lib/Dialect/XeGPU/Transforms/CMakeFiles/obj.MLIRXeGPUTransforms.dir/XeGPUFoldAliasOps.cpp.o tools/mlir/lib/Dialect/XeGPU/Transforms/CMakeFiles/obj.MLIRXeGPUTransforms.dir/XeGPUSubgroupDistribute.cpp.o tools/mlir/lib/Dialect/XeGPU/Transforms/CMakeFiles/obj.MLIRXeGPUTransforms.dir/XeGPUUnroll.cpp.o tools/mlir/lib/Dialect/XeGPU/Transforms/CMakeFiles/obj.MLIRXeGPUTransforms.dir/XeGPUWgToSgDistribute.cpp.o -Wl,-rpath,"\$ORIGIN/../lib:/home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/build/lib:" lib/libMLIRXeGPUUtils.so.21.0git lib/libMLIRVectorTransforms.so.21.0git lib/libMLIRXeGPUDialect.so.21.0git lib/libMLIRAffineUtils.so.21.0git lib/libMLIRTransforms.so.21.0git lib/libMLIRTransformUtils.so.21.0git lib/libMLIRRewrite.so.21.0git lib/libMLIRRewritePDL.so.21.0git lib/libMLIRPDLToPDLInterp.so.21.0git lib/libMLIRPass.so.21.0git lib/libMLIRPDLInterpDialect.so.21.0git lib/libMLIRPDLDialect.so.21.0git lib/libMLIRRuntimeVerifiableOpInterface.so.21.0git lib/libMLIRGPUUtils.so.21.0git lib/libMLIRGPUDialect.so.21.0git lib/libMLIRDLTIDialect.so.21.0git lib/libMLIRLinalgDialect.so.21.0git lib/libMLIRBufferizationDialect.so.21.0git lib/libMLIRParser.so.21.0git lib/libMLIRBytecodeReader.so.21.0git lib/libMLIRAsmParser.so.21.0git lib/libMLIRSparseTensorDialect.so.21.0git lib/libMLIRMathDialect.so.21.0git lib/libMLIRMemRefUtils.so.21.0git lib/libMLIRSubsetOpInterface.so.21.0git lib/libMLIRVectorUtils.so.21.0git lib/libMLIRAffineAnalysis.so.21.0git lib/libMLIRSCFDialect.so.21.0git lib/libMLIRControlFlowDialect.so.21.0git lib/libMLIRFuncDialect.so.21.0git lib/libMLIRVectorDialect.so.21.0git lib/libMLIRMaskableOpInterface.so.21.0git lib/libMLIRMaskingOpInterface.so.21.0git lib/libMLIRTensorDialect.so.21.0git lib/libMLIRAffineDialect.so.21.0git lib/libMLIRMemRefDialect.so.21.0git lib/libMLIRMemorySlotInterfaces.so.21.0git lib/libMLIRArithUtils.so.21.0git lib/libMLIRDialectUtils.so.21.0git lib/libMLIRValueBoundsOpInterface.so.21.0git lib/libMLIRAnalysis.so.21.0git lib/libMLIRViewLikeInterface.so.21.0git lib/libMLIRControlFlowInterfaces.so.21.0git lib/libMLIRSideEffectInterfaces.so.21.0git lib/libMLIRLoopLikeInterface.so.21.0git lib/libMLIRFunctionInterfaces.so.21.0git lib/libMLIRCallInterfaces.so.21.0git lib/libMLIRPresburger.so.21.0git lib/libMLIRDataLayoutInterfaces.so.21.0git lib/libMLIRComplexDialect.so.21.0git lib/libMLIRArithDialect.so.21.0git lib/libMLIRInferIntRangeCommon.so.21.0git lib/libMLIRShapedOpInterfaces.so.21.0git lib/libMLIRInferIntRangeInterface.so.21.0git lib/libMLIRUBDialect.so.21.0git lib/libMLIRDialect.so.21.0git lib/libMLIRInferTypeOpInterface.so.21.0git lib/libMLIRCastInterfaces.so.21.0git lib/libMLIRDestinationStyleOpInterface.so.21.0git lib/libMLIRParallelCombiningOpInterface.so.21.0git lib/libMLIRVectorInterfaces.so.21.0git lib/libMLIRIR.so.21.0git lib/libMLIRSupport.so.21.0git -lpthread lib/libLLVMSupport.so.21.0git -Wl,-rpath-link,/home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/build/lib && :
tools/mlir/lib/Dialect/XeGPU/Transforms/CMakeFiles/obj.MLIRXeGPUTransforms.dir/XeGPUWgToSgDistribute.cpp.o: In function `mlir::xegpu::impl::XeGPUWgToSgDistributeBase<(anonymous namespace)::XeGPUWgToSgDistributePass>::getDependentDialects(mlir::DialectRegistry&) const':
XeGPUWgToSgDistribute.cpp:(.text._ZNK4mlir5xegpu4impl25XeGPUWgToSgDistributeBaseIN12_GLOBAL__N_125XeGPUWgToSgDistributePassEE20getDependentDialectsERNS_15DialectRegistryE+0x18a): undefined reference to `mlir::detail::TypeIDResolver<mlir::index::IndexDialect, void>::id'
tools/mlir/lib/Dialect/XeGPU/Transforms/CMakeFiles/obj.MLIRXeGPUTransforms.dir/XeGPUWgToSgDistribute.cpp.o: In function `std::_Function_handler<mlir::Dialect* (mlir::MLIRContext*), mlir::DialectRegistry::insert<mlir::index::IndexDialect>()::{lambda(mlir::MLIRContext*)#1}>::_M_invoke(std::_Any_data const&, mlir::MLIRContext*&&)':
XeGPUWgToSgDistribute.cpp:(.text._ZNSt17_Function_handlerIFPN4mlir7DialectEPNS0_11MLIRContextEEZNS0_15DialectRegistry6insertINS0_5index12IndexDialectEEEvvEUlS4_E_E9_M_invokeERKSt9_Any_dataOS4_[_ZNSt17_Function_handlerIFPN4mlir7DialectEPNS0_11MLIRContextEEZNS0_15DialectRegistry6insertINS0_5index12IndexDialectEEEvvEUlS4_E_E9_M_invokeERKSt9_Any_dataOS4_]+0xa): undefined reference to `mlir::detail::TypeIDResolver<mlir::index::IndexDialect, void>::id'
tools/mlir/lib/Dialect/XeGPU/Transforms/CMakeFiles/obj.MLIRXeGPUTransforms.dir/XeGPUWgToSgDistribute.cpp.o: In function `std::unique_ptr<mlir::Dialect, std::default_delete<mlir::Dialect> > llvm::function_ref<std::unique_ptr<mlir::Dialect, std::default_delete<mlir::Dialect> > ()>::callback_fn<mlir::MLIRContext::getOrLoadDialect<mlir::index::IndexDialect>()::{lambda()#1}>(long)':
XeGPUWgToSgDistribute.cpp:(.text._ZN4llvm12function_refIFSt10unique_ptrIN4mlir7DialectESt14default_deleteIS3_EEvEE11callback_fnIZNS2_11MLIRContext16getOrLoadDialectINS2_5index12IndexDialectEEEPT_vEUlvE_EES6_l[_ZN4llvm12function_refIFSt10unique_ptrIN4mlir7DialectESt14default_deleteIS3_EEvEE11callback_fnIZNS2_11MLIRContext16getOrLoadDialectINS2_5index12IndexDialectEEEPT_vEUlvE_EES6_l]+0x1f): undefined reference to `mlir::index::IndexDialect::IndexDialect(mlir::MLIRContext*)'
tools/mlir/lib/Dialect/XeGPU/Transforms/CMakeFiles/obj.MLIRXeGPUTransforms.dir/XeGPUWgToSgDistribute.cpp.o: In function `(anonymous namespace)::WgToSgCreateNdOp::calculateGlobalOffsets(mlir::ConversionPatternRewriter&, mlir::Location, llvm::SmallVector<mlir::OpFoldResult, 6u> const&, llvm::SmallVector<mlir::Value, 6u> const&, llvm::SmallVector<long, 6u> const&, llvm::SmallVector<long, 6u> const&) const [clone .isra.407]':
XeGPUWgToSgDistribute.cpp:(.text._ZNK12_GLOBAL__N_116WgToSgCreateNdOp22calculateGlobalOffsetsERN4mlir25ConversionPatternRewriterENS1_8LocationERKN4llvm11SmallVectorINS1_12OpFoldResultELj6EEERKNS6_INS1_5ValueELj6EEERKNS6_IlLj6EEESH_.isra.407+0x25c): undefined reference to `mlir::detail::TypeIDResolver<mlir::index::AddOp, void>::id'
XeGPUWgToSgDistribute.cpp:(.text._ZNK12_GLOBAL__N_116WgToSgCreateNdOp22calculateGlobalOffsetsERN4mlir25ConversionPatternRewriterENS1_8LocationERKN4llvm11SmallVectorINS1_12OpFoldResultELj6EEERKNS6_INS1_5ValueELj6EEERKNS6_IlLj6EEESH_.isra.407+0x2a1): undefined reference to `mlir::index::AddOp::build(mlir::OpBuilder&, mlir::OperationState&, mlir::Value, mlir::Value)'
XeGPUWgToSgDistribute.cpp:(.text._ZNK12_GLOBAL__N_116WgToSgCreateNdOp22calculateGlobalOffsetsERN4mlir25ConversionPatternRewriterENS1_8LocationERKN4llvm11SmallVectorINS1_12OpFoldResultELj6EEERKNS6_INS1_5ValueELj6EEERKNS6_IlLj6EEESH_.isra.407+0x525): undefined reference to `mlir::detail::TypeIDResolver<mlir::index::RemUOp, void>::id'
XeGPUWgToSgDistribute.cpp:(.text._ZNK12_GLOBAL__N_116WgToSgCreateNdOp22calculateGlobalOffsetsERN4mlir25ConversionPatternRewriterENS1_8LocationERKN4llvm11SmallVectorINS1_12OpFoldResultELj6EEERKNS6_INS1_5ValueELj6EEERKNS6_IlLj6EEESH_.isra.407+0x55e): undefined reference to `mlir::index::RemUOp::build(mlir::OpBuilder&, mlir::OperationState&, mlir::Value, mlir::Value)'
XeGPUWgToSgDistribute.cpp:(.text._ZNK12_GLOBAL__N_116WgToSgCreateNdOp22calculateGlobalOffsetsERN4mlir25ConversionPatternRewriterENS1_8LocationERKN4llvm11SmallVectorINS1_12OpFoldResultELj6EEERKNS6_INS1_5ValueELj6EEERKNS6_IlLj6EEESH_.isra.407+0x770): undefined reference to `mlir::detail::TypeIDResolver<mlir::index::AddOp, void>::id'
XeGPUWgToSgDistribute.cpp:(.text._ZNK12_GLOBAL__N_116WgToSgCreateNdOp22calculateGlobalOffsetsERN4mlir25ConversionPatternRewriterENS1_8LocationERKN4llvm11SmallVectorINS1_12OpFoldResultELj6EEERKNS6_INS1_5ValueELj6EEERKNS6_IlLj6EEESH_.isra.407+0x7a4): undefined reference to `mlir::index::AddOp::build(mlir::OpBuilder&, mlir::OperationState&, mlir::Value, mlir::Value)'
tools/mlir/lib/Dialect/XeGPU/Transforms/CMakeFiles/obj.MLIRXeGPUTransforms.dir/XeGPUWgToSgDistribute.cpp.o: In function `(anonymous namespace)::WgToSgCreateNdOp::matchAndRewrite(mlir::xegpu::CreateNdDescOp, mlir::xegpu::CreateNdDescOpGenericAdaptor<llvm::ArrayRef<mlir::ValueRange> >, mlir::ConversionPatternRewriter&) const':
XeGPUWgToSgDistribute.cpp:(.text._ZNK12_GLOBAL__N_116WgToSgCreateNdOp15matchAndRewriteEN4mlir5xegpu14CreateNdDescOpENS2_28CreateNdDescOpGenericAdaptorIN4llvm8ArrayRefINS1_10ValueRangeEEEEERNS1_25ConversionPatternRewriterE+0xe13): undefined reference to `mlir::detail::TypeIDResolver<mlir::index::MulOp, void>::id'
XeGPUWgToSgDistribute.cpp:(.text._ZNK12_GLOBAL__N_116WgToSgCreateNdOp15matchAndRewriteEN4mlir5xegpu14CreateNdDescOpENS2_28CreateNdDescOpGenericAdaptorIN4llvm8ArrayRefINS1_10ValueRangeEEEEERNS1_25ConversionPatternRewriterE+0xe5d): undefined reference to `mlir::index::MulOp::build(mlir::OpBuilder&, mlir::OperationState&, mlir::Value, mlir::Value)'
collect2: error: ld returned 1 exit status
[6703/7805] Linking CXX executable bin/llvm-stress
[6704/7805] Generating ../../bin/llvm-windres
[6705/7805] Building CXX object tools/obj2yaml/CMakeFiles/obj2yaml.dir/minidump2yaml.cpp.o
[6706/7805] Building CXX object tools/remarks-shlib/CMakeFiles/Remarks.dir/libremarks.cpp.o
[6707/7805] Building CXX object tools/obj2yaml/CMakeFiles/obj2yaml.dir/macho2yaml.cpp.o
[6708/7805] Building CXX object tools/obj2yaml/CMakeFiles/obj2yaml.dir/elf2yaml.cpp.o
[6709/7805] Building CXX object tools/obj2yaml/CMakeFiles/obj2yaml.dir/offload2yaml.cpp.o
[6710/7805] Building CXX object tools/obj2yaml/CMakeFiles/obj2yaml.dir/xcoff2yaml.cpp.o
[6711/7805] Linking CXX executable bin/llvm-symbolizer
[6712/7805] Linking CXX executable bin/llvm-strings
[6713/7805] Building CXX object tools/obj2yaml/CMakeFiles/obj2yaml.dir/wasm2yaml.cpp.o
[6714/7805] Building CXX object tools/opt/CMakeFiles/obj.LLVMOptDriver.dir/optdriver.cpp.o
In file included from /home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/llvm-project/llvm/include/llvm/IR/Argument.h:18,
from /home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/llvm-project/llvm/include/llvm/IR/Function.h:25,
from /home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/llvm-project/llvm/include/llvm/IR/InstrTypes.h:28,
from /home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/llvm-project/llvm/include/llvm/Analysis/CallGraph.h:48,
from /home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/llvm-project/llvm/tools/opt/optdriver.cpp:16:
/home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/llvm-project/llvm/include/llvm/IR/Value.h: In static member function ‘static bool llvm::isa_impl<llvm::ConstantData, llvm::Value>::doit(const llvm::Value&)’:
/home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/llvm-project/llvm/include/llvm/IR/Value.h:997:29: warning: comparison of unsigned expression >= 0 is always true [-Wtype-limits]
return Val.getValueID() >= Value::ConstantDataFirstVal &&
```
</details>
https://github.com/llvm/llvm-project/pull/139477
More information about the Mlir-commits
mailing list