[Mlir-commits] [mlir] [mlir][TOSA] Fix linalg lowering of depthwise conv2d (PR #130282)

LLVM Continuous Integration llvmlistbot at llvm.org
Fri Mar 7 05:38:14 PST 2025


llvm-ci wrote:

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

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

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

```
Step 7 (test-build-check-mlir-build-only-check-mlir) failure: test (failure)
******************** TEST 'MLIR :: Conversion/TosaToLinalg/tosa-to-linalg-named.mlir' FAILED ********************
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 1
/vol/worker/mlir-nvidia/mlir-nvidia/llvm.obj/bin/mlir-opt --verify-each --split-input-file -pass-pipeline="builtin.module(func.func(tosa-to-linalg-named))" /vol/worker/mlir-nvidia/mlir-nvidia/llvm.src/mlir/test/Conversion/TosaToLinalg/tosa-to-linalg-named.mlir -verify-diagnostics -o -| /vol/worker/mlir-nvidia/mlir-nvidia/llvm.obj/bin/FileCheck /vol/worker/mlir-nvidia/mlir-nvidia/llvm.src/mlir/test/Conversion/TosaToLinalg/tosa-to-linalg-named.mlir
# executed command: /vol/worker/mlir-nvidia/mlir-nvidia/llvm.obj/bin/mlir-opt --verify-each --split-input-file '-pass-pipeline=builtin.module(func.func(tosa-to-linalg-named))' /vol/worker/mlir-nvidia/mlir-nvidia/llvm.src/mlir/test/Conversion/TosaToLinalg/tosa-to-linalg-named.mlir -verify-diagnostics -o -
# .---command stderr------------
# | <unknown>:0: error: unexpected error: expected integer or index type
# | mlir-opt: /vol/worker/mlir-nvidia/mlir-nvidia/llvm.src/mlir/include/mlir/IR/StorageUniquerSupport.h:180: static ConcreteT mlir::detail::StorageUserBase<mlir::IntegerAttr, mlir::Attribute, mlir::detail::IntegerAttrStorage, mlir::detail::AttributeUniquer, mlir::TypedAttr::Trait>::get(mlir::MLIRContext *, Args &&...) [ConcreteT = mlir::IntegerAttr, BaseT = mlir::Attribute, StorageT = mlir::detail::IntegerAttrStorage, UniquerT = mlir::detail::AttributeUniquer, Traits = <mlir::TypedAttr::Trait>, Args = <mlir::Type &, const llvm::APInt &>]: Assertion `succeeded( ConcreteT::verifyInvariants(getDefaultDiagnosticEmitFn(ctx), args...))' failed.
# | PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
# | Stack dump:
# | 0.	Program arguments: /vol/worker/mlir-nvidia/mlir-nvidia/llvm.obj/bin/mlir-opt --verify-each --split-input-file -pass-pipeline=builtin.module(func.func(tosa-to-linalg-named)) /vol/worker/mlir-nvidia/mlir-nvidia/llvm.src/mlir/test/Conversion/TosaToLinalg/tosa-to-linalg-named.mlir -verify-diagnostics -o -
# | Stack dump without symbol names (ensure you have llvm-symbolizer in your PATH or set the environment var `LLVM_SYMBOLIZER_PATH` to point to it):
# | 0  libLLVMSupport.so.21.0git        0x00007bf4d6fef0c7 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) + 39
# | 1  libLLVMSupport.so.21.0git        0x00007bf4d6fecc5e llvm::sys::RunSignalHandlers() + 238
# | 2  libLLVMSupport.so.21.0git        0x00007bf4d6fef795
# | 3  libc.so.6                        0x00007bf4d68b5520
# | 4  libc.so.6                        0x00007bf4d69099fc pthread_kill + 300
# | 5  libc.so.6                        0x00007bf4d68b5476 raise + 22
# | 6  libc.so.6                        0x00007bf4d689b7f3 abort + 211
# | 7  libc.so.6                        0x00007bf4d689b71b
# | 8  libc.so.6                        0x00007bf4d68ace96
# | 9  libMLIRIR.so.21.0git             0x00007bf4d71bbce1
# | 10 libMLIRIR.so.21.0git             0x00007bf4d71bbb73 mlir::IntegerAttr::get(mlir::Type, llvm::APInt const&) + 83
# | 11 libMLIRIR.so.21.0git             0x00007bf4d71b7247 mlir::Builder::getIntegerAttr(mlir::Type, long) + 135
# | 12 libMLIRTosaToLinalg.so.21.0git   0x00007bf4dd6f1923
# | 13 libMLIRTosaToLinalg.so.21.0git   0x00007bf4dd6f23d1
# | 14 libMLIRTosaToLinalg.so.21.0git   0x00007bf4dd6f10ba
# | 15 libMLIRTransformUtils.so.21.0git 0x00007bf4d779ff16 mlir::ConversionPattern::matchAndRewrite(mlir::Operation*, mlir::PatternRewriter&) const + 422
# | 16 libMLIRRewrite.so.21.0git        0x00007bf4d76f9ad1
# | 17 libMLIRRewrite.so.21.0git        0x00007bf4d76f64af mlir::PatternApplicator::matchAndRewrite(mlir::Operation*, mlir::PatternRewriter&, llvm::function_ref<bool (mlir::Pattern const&)>, llvm::function_ref<void (mlir::Pattern const&)>, llvm::function_ref<llvm::LogicalResult (mlir::Pattern const&)>) + 895
# | 18 libMLIRTransformUtils.so.21.0git 0x00007bf4d77a0fd2
# | 19 libMLIRTransformUtils.so.21.0git 0x00007bf4d77a0047 mlir::OperationConverter::convert(mlir::ConversionPatternRewriter&, mlir::Operation*) + 39
# | 20 libMLIRTransformUtils.so.21.0git 0x00007bf4d77a11ef mlir::OperationConverter::convertOperations(llvm::ArrayRef<mlir::Operation*>) + 271
# | 21 libMLIRTransformUtils.so.21.0git 0x00007bf4d77a798e mlir::applyFullConversion(mlir::Operation*, mlir::ConversionTarget const&, mlir::FrozenRewritePatternSet const&, mlir::ConversionConfig) + 94
# | 22 libMLIRTosaToLinalg.so.21.0git   0x00007bf4dd6fcc76
# | 23 libMLIRPass.so.21.0git           0x00007bf4d74bdc07 mlir::detail::OpToOpPassAdaptor::run(mlir::Pass*, mlir::Operation*, mlir::AnalysisManager, bool, unsigned int) + 695
# | 24 libMLIRPass.so.21.0git           0x00007bf4d74be471 mlir::detail::OpToOpPassAdaptor::runPipeline(mlir::OpPassManager&, mlir::Operation*, mlir::AnalysisManager, bool, unsigned int, mlir::PassInstrumentor*, mlir::PassInstrumentation::PipelineParentInfo const*) + 337
# | 25 libMLIRPass.so.21.0git           0x00007bf4d74c5f7e
# | 26 libMLIRPass.so.21.0git           0x00007bf4d74bfc6b mlir::detail::OpToOpPassAdaptor::runOnOperationAsyncImpl(bool) + 2987
# | 27 libMLIRPass.so.21.0git           0x00007bf4d74bdd60 mlir::detail::OpToOpPassAdaptor::run(mlir::Pass*, mlir::Operation*, mlir::AnalysisManager, bool, unsigned int) + 1040
# | 28 libMLIRPass.so.21.0git           0x00007bf4d74be471 mlir::detail::OpToOpPassAdaptor::runPipeline(mlir::OpPassManager&, mlir::Operation*, mlir::AnalysisManager, bool, unsigned int, mlir::PassInstrumentor*, mlir::PassInstrumentation::PipelineParentInfo const*) + 337
# | 29 libMLIRPass.so.21.0git           0x00007bf4d74c0b6b mlir::PassManager::run(mlir::Operation*) + 923
# | 30 libMLIROptLib.so.21.0git         0x00007bf4dfe1cf4f
# | 31 libMLIROptLib.so.21.0git         0x00007bf4dfe1ca78
# | 32 libMLIRSupport.so.21.0git        0x00007bf4d706b4b5
# | 33 libMLIRSupport.so.21.0git        0x00007bf4d706afee mlir::splitAndProcessBuffer(std::unique_ptr<llvm::MemoryBuffer, std::default_delete<llvm::MemoryBuffer>>, llvm::function_ref<llvm::LogicalResult (std::unique_ptr<llvm::MemoryBuffer, std::default_delete<llvm::MemoryBuffer>>, llvm::raw_ostream&)>, llvm::raw_ostream&, llvm::StringRef, llvm::StringRef) + 1182
# | 34 libMLIROptLib.so.21.0git         0x00007bf4dfe143f1 mlir::MlirOptMain(llvm::raw_ostream&, std::unique_ptr<llvm::MemoryBuffer, std::default_delete<llvm::MemoryBuffer>>, mlir::DialectRegistry&, mlir::MlirOptMainConfig const&) + 225
...

```

</details>

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


More information about the Mlir-commits mailing list