Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[mlir] Crash occurs when trying to resolve a dim op #92322

Closed
zjgarvey opened this issue May 15, 2024 · 1 comment
Closed

[mlir] Crash occurs when trying to resolve a dim op #92322

zjgarvey opened this issue May 15, 2024 · 1 comment
Labels
mlir question A question, not bug report. Check out https://llvm.org/docs/GettingInvolved.html instead!

Comments

@zjgarvey
Copy link
Contributor

When running mlir-opt --resolve-ranked-shaped-type-result-dims on IR with a tensor.dim applied to the result of a tensor.pad op, I get a crash.

Here is a minimal reproducer:

func.func @dim_of_pad(%in : tensor<?x?xi8>) -> index {
    %c1 = arith.constant 1 : index
    %c0_i8 = arith.constant 0 : i8
    %padded = tensor.pad %in low[1, 1] high[1, 1] {
    ^bb0(%arg1: index, %arg2: index):
      tensor.yield %c0_i8 : i8
    } : tensor<?x?xi8> to tensor<?x?xi8>
    %dim = tensor.dim %padded, %c1 : tensor<?x?xi8>
    return %dim : index
}

crash dump:

//===-------------------------------------------===//
Processing operation : 'tensor.dim'(0x5b5ff81bc8c0) {
  %3 = "tensor.dim"(%2, %0) : (tensor<?x?xi8>, index) -> index


  * Pattern (anonymous namespace)::DimOfReifyRankedShapedTypeOpInterface<mlir::tensor::DimOp> : 'tensor.dim -> ()' {
Trying to match "(anonymous namespace)::DimOfReifyRankedShapedTypeOpInterface<mlir::tensor::DimOp>"
LLVM ERROR: checking for an interface (`mlir::ReifyRankedShapedTypeOpInterface`) that was promised by dialect 'tensor' but never implemented. This is generally an indication that the dialect extension implementing the interface was never registered.
PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
Stack dump:
0.      Program arguments: torch-mlir-opt /home/zjgar/code/llvm-project/mlir/test/Dialect/MemRef/resolve-dim-ops.mlir -resolve-shaped-type-result-dims --split-input-file --debug
 #0 0x00005b5ff601a377 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) /home/zjgar/code/torch-mlir/externals/llvm-project/llvm/lib/Support/Unix/Signals.inc:723:13
 #1 0x00005b5ff60184a0 llvm::sys::RunSignalHandlers() /home/zjgar/code/torch-mlir/externals/llvm-project/llvm/lib/Support/Signals.cpp:106:18
 #2 0x00005b5ff601aa1a SignalHandler(int) /home/zjgar/code/torch-mlir/externals/llvm-project/llvm/lib/Support/Unix/Signals.inc:413:1
 #3 0x000078f4bac42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
 #4 0x000078f4bac969fc pthread_kill (/lib/x86_64-linux-gnu/libc.so.6+0x969fc)
 #5 0x000078f4bac42476 gsignal (/lib/x86_64-linux-gnu/libc.so.6+0x42476)
 #6 0x000078f4bac287f3 abort (/lib/x86_64-linux-gnu/libc.so.6+0x287f3)
 #7 0x00005b5ff5fe8a5c llvm::report_fatal_error(llvm::Twine const&, bool) /home/zjgar/code/torch-mlir/externals/llvm-project/llvm/lib/Support/ErrorHandling.cpp:125:5
 #8 0x00005b5ff523f0af (/home/zjgar/code/torch-mlir/build/bin/torch-mlir-opt+0x8330af)
 #9 0x00005b5ff53b1418 mlir::TypeID::operator==(mlir::TypeID const&) const /home/zjgar/code/torch-mlir/externals/llvm-project/mlir/include/mlir/Support/TypeID.h:116:12
#10 0x00005b5ff53b1418 mlir::TypeID::operator!=(mlir::TypeID const&) const /home/zjgar/code/torch-mlir/externals/llvm-project/mlir/include/mlir/Support/TypeID.h:119:20
#11 0x00005b5ff53b1418 mlir::OperationName::Impl::isRegistered() const /home/zjgar/code/torch-mlir/externals/llvm-project/mlir/include/mlir/IR/OperationSupport.h:159:47
#12 0x00005b5ff53b1418 mlir::OperationName::isRegistered() const /home/zjgar/code/torch-mlir/externals/llvm-project/mlir/include/mlir/IR/OperationSupport.h:233:49
#13 0x00005b5ff53b1418 mlir::OperationName::getRegisteredInfo() const /home/zjgar/code/torch-mlir/externals/llvm-project/mlir/include/mlir/IR/OperationSupport.h:718:10
#14 0x00005b5ff53b1418 mlir::OpInterface<mlir::ReifyRankedShapedTypeOpInterface, mlir::detail::ReifyRankedShapedTypeOpInterfaceInterfaceTraits>::getInterfaceFor(mlir::Operation*) /home/zjgar/code/torch-mlir/externals/llvm-project/mlir/include/mlir/IR/OpDefinition.h:2105:18
#15 0x00005b5ff5ee6bc8 mlir::detail::Interface<mlir::ReifyRankedShapedTypeOpInterface, mlir::Operation*, mlir::detail::ReifyRankedShapedTypeOpInterfaceInterfaceTraits, mlir::Op<mlir::ReifyRankedShapedTypeOpInterface>, mlir::OpTrait::TraitBase>::classof(mlir::Operation*) /home/zjgar/code/torch-mlir/externals/llvm-project/mlir/include/mlir/Support/InterfaceSupport.h:124:42
#16 0x00005b5ff5ee6bc8 llvm::CastInfo<mlir::ReifyRankedShapedTypeOpInterface, mlir::Operation*, void>::isPossible(mlir::Operation*) /home/zjgar/code/torch-mlir/externals/llvm-project/mlir/include/mlir/IR/Operation.h:1108:58
#17 0x00005b5ff5ee6bc8 llvm::DefaultDoCastIfPossible<mlir::ReifyRankedShapedTypeOpInterface, mlir::Operation*, llvm::CastInfo<mlir::ReifyRankedShapedTypeOpInterface, mlir::Operation*, void>>::doCastIfPossible(mlir::Operation*) /home/zjgar/code/torch-mlir/externals/llvm-project/llvm/include/llvm/Support/Casting.h:311:10
#18 0x00005b5ff5ee6bc8 decltype(auto) llvm::dyn_cast<mlir::ReifyRankedShapedTypeOpInterface, mlir::Operation>(mlir::Operation*) /home/zjgar/code/torch-mlir/externals/llvm-project/llvm/include/llvm/Support/Casting.h:663:10
#19 0x00005b5ff5ee6bc8 mlir::reifyResultShapes(mlir::OpBuilder&, mlir::Operation*, llvm::SmallVector<llvm::SmallVector<mlir::OpFoldResult, 6u>, 1u>&) /home/zjgar/code/torch-mlir/externals/llvm-project/mlir/lib/Interfaces/InferTypeOpInterface.cpp:28:22
#20 0x00005b5ff53b63b6 mlir::LogicalResult::failed() const /home/zjgar/code/torch-mlir/externals/llvm-project/mlir/include/mlir/Support/LogicalResult.h:44:33
#21 0x00005b5ff53b63b6 mlir::failed(mlir::LogicalResult) /home/zjgar/code/torch-mlir/externals/llvm-project/mlir/include/mlir/Support/LogicalResult.h:72:58
#22 0x00005b5ff53b63b6 (anonymous namespace)::DimOfReifyRankedShapedTypeOpInterface<mlir::tensor::DimOp>::matchAndRewrite(mlir::tensor::DimOp, mlir::PatternRewriter&) const /home/zjgar/code/torch-mlir/externals/llvm-project/mlir/lib/Dialect/MemRef/Transforms/ResolveShapedTypeResultDims.cpp:93:9
#23 0x00005b5ff5b5f817 mlir::PatternApplicator::matchAndRewrite(mlir::Operation*, mlir::PatternRewriter&, llvm::function_ref<bool (mlir::Pattern const&)>, llvm::function_ref<void (mlir::Pattern const&)>, llvm::function_ref<mlir::LogicalResult (mlir::Pattern const&)>)::$_2::operator()() const /home/zjgar/code/torch-mlir/externals/llvm-project/mlir/lib/Rewrite/PatternApplicator.cpp:212:13
#24 0x00005b5ff5b5f817 void llvm::function_ref<void ()>::callback_fn<mlir::PatternApplicator::matchAndRewrite(mlir::Operation*, mlir::PatternRewriter&, llvm::function_ref<bool (mlir::Pattern const&)>, llvm::function_ref<void (mlir::Pattern const&)>, llvm::function_ref<mlir::LogicalResult (mlir::Pattern const&)>)::$_2>(long) /home/zjgar/code/torch-mlir/externals/llvm-project/llvm/include/llvm/ADT/STLFunctionalExtras.h:45:12
#25 0x00005b5ff5b5c6ff mlir::PatternApplicator::matchAndRewrite(mlir::Operation*, mlir::PatternRewriter&, llvm::function_ref<bool (mlir::Pattern const&)>, llvm::function_ref<void (mlir::Pattern const&)>, llvm::function_ref<mlir::LogicalResult (mlir::Pattern const&)>) /home/zjgar/code/torch-mlir/externals/llvm-project/mlir/lib/Rewrite/PatternApplicator.cpp:233:9
#26 0x00005b5ff5b425ea (anonymous namespace)::GreedyPatternRewriteDriver::processWorklist() /home/zjgar/code/torch-mlir/externals/llvm-project/mlir/lib/Transforms/Utils/GreedyPatternRewriteDriver.cpp:0:0
#27 0x00005b5ff5b3ee90 (anonymous namespace)::RegionPatternRewriteDriver::simplify(bool*) &&::$_8::operator()() const /home/zjgar/code/torch-mlir/externals/llvm-project/mlir/lib/Transforms/Utils/GreedyPatternRewriteDriver.cpp:870:11
#28 0x00005b5ff5b3ee90 void llvm::function_ref<void ()>::callback_fn<(anonymous namespace)::RegionPatternRewriteDriver::simplify(bool*) &&::$_8>(long) /home/zjgar/code/torch-mlir/externals/llvm-project/llvm/include/llvm/ADT/STLFunctionalExtras.h:45:12
#29 0x00005b5ff5b3ee90 llvm::function_ref<void ()>::operator()() const /home/zjgar/code/torch-mlir/externals/llvm-project/llvm/include/llvm/ADT/STLFunctionalExtras.h:68:12
#30 0x00005b5ff5b3ee90 void mlir::MLIRContext::executeAction<(anonymous namespace)::GreedyPatternRewriteIteration, long&>(llvm::function_ref<void ()>, llvm::ArrayRef<mlir::IRUnit>, long&) /home/zjgar/code/torch-mlir/externals/llvm-project/mlir/include/mlir/IR/MLIRContext.h:275:7
#31 0x00005b5ff5b3ee90 (anonymous namespace)::RegionPatternRewriteDriver::simplify(bool*) && /home/zjgar/code/torch-mlir/externals/llvm-project/mlir/lib/Transforms/Utils/GreedyPatternRewriteDriver.cpp:868:10
#32 0x00005b5ff5b3ee90 mlir::applyPatternsAndFoldGreedily(mlir::Region&, mlir::FrozenRewritePatternSet const&, mlir::GreedyRewriteConfig, bool*) /home/zjgar/code/torch-mlir/externals/llvm-project/mlir/lib/Transforms/Utils/GreedyPatternRewriteDriver.cpp:910:47
#33 0x00005b5ff53b701b mlir::LogicalResult::failed() const /home/zjgar/code/torch-mlir/externals/llvm-project/mlir/include/mlir/Support/LogicalResult.h:44:33
#34 0x00005b5ff53b701b mlir::applyPatternsAndFoldGreedily(mlir::Operation*, mlir::FrozenRewritePatternSet const&, mlir::GreedyRewriteConfig, bool*) /home/zjgar/code/torch-mlir/externals/llvm-project/mlir/include/mlir/Transforms/GreedyPatternRewriteDriver.h:149:14
#35 0x00005b5ff53b701b (anonymous namespace)::ResolveShapedTypeResultDimsPass::runOnOperation() /home/zjgar/code/torch-mlir/externals/llvm-project/mlir/lib/Dialect/MemRef/Transforms/ResolveShapedTypeResultDims.cpp:153:14
#36 0x00005b5ff5ba9434 mlir::detail::OpToOpPassAdaptor::run(mlir::Pass*, mlir::Operation*, mlir::AnalysisManager, bool, unsigned int)::$_7::operator()() const /home/zjgar/code/torch-mlir/externals/llvm-project/mlir/lib/Pass/Pass.cpp:0:17
#37 0x00005b5ff5ba9434 void llvm::function_ref<void ()>::callback_fn<mlir::detail::OpToOpPassAdaptor::run(mlir::Pass*, mlir::Operation*, mlir::AnalysisManager, bool, unsigned int)::$_7>(long) /home/zjgar/code/torch-mlir/externals/llvm-project/llvm/include/llvm/ADT/STLFunctionalExtras.h:45:12
#38 0x00005b5ff5ba9434 llvm::function_ref<void ()>::operator()() const /home/zjgar/code/torch-mlir/externals/llvm-project/llvm/include/llvm/ADT/STLFunctionalExtras.h:68:12
#39 0x00005b5ff5ba9434 void mlir::MLIRContext::executeAction<mlir::PassExecutionAction, mlir::Pass&>(llvm::function_ref<void ()>, llvm::ArrayRef<mlir::IRUnit>, mlir::Pass&) /home/zjgar/code/torch-mlir/externals/llvm-project/mlir/include/mlir/IR/MLIRContext.h:275:7
#40 0x00005b5ff5ba9434 mlir::detail::OpToOpPassAdaptor::run(mlir::Pass*, mlir::Operation*, mlir::AnalysisManager, bool, unsigned int) /home/zjgar/code/torch-mlir/externals/llvm-project/mlir/lib/Pass/Pass.cpp:521:21
#41 0x00005b5ff5babe33 mlir::LogicalResult::failed() const /home/zjgar/code/torch-mlir/externals/llvm-project/mlir/include/mlir/Support/LogicalResult.h:44:33
#42 0x00005b5ff5babe33 mlir::failed(mlir::LogicalResult) /home/zjgar/code/torch-mlir/externals/llvm-project/mlir/include/mlir/Support/LogicalResult.h:72:58
#43 0x00005b5ff5babe33 mlir::detail::OpToOpPassAdaptor::runPipeline(mlir::OpPassManager&, mlir::Operation*, mlir::AnalysisManager, bool, unsigned int, mlir::PassInstrumentor*, mlir::PassInstrumentation::PipelineParentInfo const*) /home/zjgar/code/torch-mlir/externals/llvm-project/mlir/lib/Pass/Pass.cpp:593:9
#44 0x00005b5ff5babe33 mlir::PassManager::runPasses(mlir::Operation*, mlir::AnalysisManager) /home/zjgar/code/torch-mlir/externals/llvm-project/mlir/lib/Pass/Pass.cpp:904:10
#45 0x00005b5ff5babe33 mlir::PassManager::run(mlir::Operation*) /home/zjgar/code/torch-mlir/externals/llvm-project/mlir/lib/Pass/Pass.cpp:884:60
#46 0x00005b5ff4b815b7 mlir::LogicalResult::failed() const /home/zjgar/code/torch-mlir/externals/llvm-project/mlir/include/mlir/Support/LogicalResult.h:44:33
#47 0x00005b5ff4b815b7 mlir::failed(mlir::LogicalResult) /home/zjgar/code/torch-mlir/externals/llvm-project/mlir/include/mlir/Support/LogicalResult.h:72:58
#48 0x00005b5ff4b815b7 performActions(llvm::raw_ostream&, std::shared_ptr<llvm::SourceMgr> const&, mlir::MLIRContext*, mlir::MlirOptMainConfig const&) /home/zjgar/code/torch-mlir/externals/llvm-project/mlir/lib/Tools/mlir-opt/MlirOptMain.cpp:407:7
#49 0x00005b5ff4b81224 processBuffer(llvm::raw_ostream&, std::unique_ptr<llvm::MemoryBuffer, std::default_delete<llvm::MemoryBuffer>>, mlir::MlirOptMainConfig const&, mlir::DialectRegistry&, llvm::ThreadPoolInterface*) /home/zjgar/code/torch-mlir/externals/llvm-project/mlir/lib/Tools/mlir-opt/MlirOptMain.cpp:472:12
#50 0x00005b5ff4b81224 mlir::MlirOptMain(llvm::raw_ostream&, std::unique_ptr<llvm::MemoryBuffer, std::default_delete<llvm::MemoryBuffer>>, mlir::DialectRegistry&, mlir::MlirOptMainConfig const&)::$_3::operator()(std::unique_ptr<llvm::MemoryBuffer, std::default_delete<llvm::MemoryBuffer>>, llvm::raw_ostream&) const /home/zjgar/code/torch-mlir/externals/llvm-project/mlir/lib/Tools/mlir-opt/MlirOptMain.cpp:547:12
#51 0x00005b5ff4b81224 mlir::LogicalResult llvm::function_ref<mlir::LogicalResult (std::unique_ptr<llvm::MemoryBuffer, std::default_delete<llvm::MemoryBuffer>>, llvm::raw_ostream&)>::callback_fn<mlir::MlirOptMain(llvm::raw_ostream&, std::unique_ptr<llvm::MemoryBuffer, std::default_delete<llvm::MemoryBuffer>>, mlir::DialectRegistry&, mlir::MlirOptMainConfig const&)::$_3>(long, std::unique_ptr<llvm::MemoryBuffer, std::default_delete<llvm::MemoryBuffer>>, llvm::raw_ostream&) /home/zjgar/code/torch-mlir/externals/llvm-project/llvm/include/llvm/ADT/STLFunctionalExtras.h:45:12
#52 0x00005b5ff5fbccd5 llvm::function_ref<mlir::LogicalResult (std::unique_ptr<llvm::MemoryBuffer, std::default_delete<llvm::MemoryBuffer>>, llvm::raw_ostream&)>::operator()(std::unique_ptr<llvm::MemoryBuffer, std::default_delete<llvm::MemoryBuffer>>, llvm::raw_ostream&) const /home/zjgar/code/torch-mlir/externals/llvm-project/llvm/include/llvm/ADT/STLFunctionalExtras.h:68:12
#53 0x00005b5ff5fbccd5 mlir::splitAndProcessBuffer(std::unique_ptr<llvm::MemoryBuffer, std::default_delete<llvm::MemoryBuffer>>, llvm::function_ref<mlir::LogicalResult (std::unique_ptr<llvm::MemoryBuffer, std::default_delete<llvm::MemoryBuffer>>, llvm::raw_ostream&)>, llvm::raw_ostream&, llvm::StringRef, llvm::StringRef)::$_0::operator()(llvm::StringRef) const /home/zjgar/code/torch-mlir/externals/llvm-project/mlir/lib/Support/ToolUtilities.cpp:87:16
#54 0x00005b5ff5fbcade void llvm::interleave<llvm::StringRef const*, mlir::splitAndProcessBuffer(std::unique_ptr<llvm::MemoryBuffer, std::default_delete<llvm::MemoryBuffer>>, llvm::function_ref<mlir::LogicalResult (std::unique_ptr<llvm::MemoryBuffer, std::default_delete<llvm::MemoryBuffer>>, llvm::raw_ostream&)>, llvm::raw_ostream&, llvm::StringRef, llvm::StringRef)::$_0, void llvm::interleave<llvm::SmallVector<llvm::StringRef, 8u>, mlir::splitAndProcessBuffer(std::unique_ptr<llvm::MemoryBuffer, std::default_delete<llvm::MemoryBuffer>>, llvm::function_ref<mlir::LogicalResult (std::unique_ptr<llvm::MemoryBuffer, std::default_delete<llvm::MemoryBuffer>>, llvm::raw_ostream&)>, llvm::raw_ostream&, llvm::StringRef, llvm::StringRef)::$_0, llvm::raw_ostream, llvm::StringRef>(llvm::SmallVector<llvm::StringRef, 8u> const&, llvm::raw_ostream&, mlir::splitAndProcessBuffer(std::unique_ptr<llvm::MemoryBuffer, std::default_delete<llvm::MemoryBuffer>>, llvm::function_ref<mlir::LogicalResult (std::unique_ptr<llvm::MemoryBuffer, std::default_delete<llvm::MemoryBuffer>>, llvm::raw_ostream&)>, llvm::raw_ostream&, llvm::StringRef, llvm::StringRef)::$_0, llvm::StringRef const&)::'lambda'(), void>(llvm::SmallVector<llvm::StringRef, 8u>, llvm::SmallVector<llvm::StringRef, 8u>, mlir::splitAndProcessBuffer(std::unique_ptr<llvm::MemoryBuffer, std::default_delete<llvm::MemoryBuffer>>, llvm::function_ref<mlir::LogicalResult (std::unique_ptr<llvm::MemoryBuffer, std::default_delete<llvm::MemoryBuffer>>, llvm::raw_ostream&)>, llvm::raw_ostream&, llvm::StringRef, llvm::StringRef)::$_0, llvm::raw_ostream) /home/zjgar/code/torch-mlir/externals/llvm-project/llvm/include/llvm/ADT/STLExtras.h:2133:16
#55 0x00005b5ff5fbcade void llvm::interleave<llvm::SmallVector<llvm::StringRef, 8u>, mlir::splitAndProcessBuffer(std::unique_ptr<llvm::MemoryBuffer, std::default_delete<llvm::MemoryBuffer>>, llvm::function_ref<mlir::LogicalResult (std::unique_ptr<llvm::MemoryBuffer, std::default_delete<llvm::MemoryBuffer>>, llvm::raw_ostream&)>, llvm::raw_ostream&, llvm::StringRef, llvm::StringRef)::$_0, llvm::raw_ostream, llvm::StringRef>(llvm::SmallVector<llvm::StringRef, 8u> const&, llvm::raw_ostream&, mlir::splitAndProcessBuffer(std::unique_ptr<llvm::MemoryBuffer, std::default_delete<llvm::MemoryBuffer>>, llvm::function_ref<mlir::LogicalResult (std::unique_ptr<llvm::MemoryBuffer, std::default_delete<llvm::MemoryBuffer>>, llvm::raw_ostream&)>, llvm::raw_ostream&, llvm::StringRef, llvm::StringRef)::$_0, llvm::StringRef const&) /home/zjgar/code/torch-mlir/externals/llvm-project/llvm/include/llvm/ADT/STLExtras.h:2153:3
#56 0x00005b5ff5fbcade mlir::splitAndProcessBuffer(std::unique_ptr<llvm::MemoryBuffer, std::default_delete<llvm::MemoryBuffer>>, llvm::function_ref<mlir::LogicalResult (std::unique_ptr<llvm::MemoryBuffer, std::default_delete<llvm::MemoryBuffer>>, llvm::raw_ostream&)>, llvm::raw_ostream&, llvm::StringRef, llvm::StringRef) /home/zjgar/code/torch-mlir/externals/llvm-project/mlir/lib/Support/ToolUtilities.cpp:90:3
#57 0x00005b5ff4b7ad1c mlir::MlirOptMain(llvm::raw_ostream&, std::unique_ptr<llvm::MemoryBuffer, std::default_delete<llvm::MemoryBuffer>>, mlir::DialectRegistry&, mlir::MlirOptMainConfig const&) /home/zjgar/code/torch-mlir/externals/llvm-project/mlir/lib/Tools/mlir-opt/MlirOptMain.cpp:550:10
#58 0x00005b5ff4b7afc0 mlir::MlirOptMain(int, char**, llvm::StringRef, llvm::StringRef, mlir::DialectRegistry&) /home/zjgar/code/torch-mlir/externals/llvm-project/mlir/lib/Tools/mlir-opt/MlirOptMain.cpp:588:14
#59 0x00005b5ff4b7b2b2 mlir::MlirOptMain(int, char**, llvm::StringRef, mlir::DialectRegistry&) /home/zjgar/code/torch-mlir/externals/llvm-project/mlir/lib/Tools/mlir-opt/MlirOptMain.cpp:604:10
#60 0x00005b5ff4b79786 main /home/zjgar/code/torch-mlir/tools/torch-mlir-opt/torch-mlir-opt.cpp:49:33
#61 0x000078f4bac29d90 (/lib/x86_64-linux-gnu/libc.so.6+0x29d90)
#62 0x000078f4bac29e40 __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x29e40)
#63 0x00005b5ff4b79385 _start (/home/zjgar/code/torch-mlir/build/bin/torch-mlir-opt+0x16d385)
Aborted (core dumped)
@github-actions github-actions bot added the mlir label May 15, 2024
@zjgarvey
Copy link
Contributor Author

I believe this can be fixed by simply checking if the interface method being requested is actually available to the parent op of the dim op. I'll submit a patch shortly.

@zjgarvey zjgarvey closed this as not planned Won't fix, can't repro, duplicate, stale May 15, 2024
@EugeneZelenko EugeneZelenko added the question A question, not bug report. Check out https://llvm.org/docs/GettingInvolved.html instead! label May 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
mlir question A question, not bug report. Check out https://llvm.org/docs/GettingInvolved.html instead!
Projects
None yet
Development

No branches or pull requests

2 participants