Skip to content

Instantly share code, notes, and snippets.

@vivekkhandelwal1
Created February 22, 2022 17:04
Show Gist options
  • Save vivekkhandelwal1/8841f3505a770b75bc2af0304f1efe9a to your computer and use it in GitHub Desktop.
Save vivekkhandelwal1/8841f3505a770b75bc2af0304f1efe9a to your computer and use it in GitHub Desktop.
iree-translate: /home/vivek/work/02_07/vivekkhandelwal1-iree/third_party/llvm-project/mlir/lib/Dialect/MemRef/IR/MemRefOps.cpp:1690: static mlir::Type mlir::memref::SubViewOp::inferResultType(mlir::MemRefType, ArrayRef<int64_t>, ArrayRef<int64_t>, ArrayRef<int64_t>): Assertion `staticOffsets.size() == rank && "staticOffsets length mismatch"' failed.
PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
Stack dump:
0. Program arguments: ./build/iree/tools/iree-translate bert_input_ir.mlir -mlir-elide-elementsattrs-if-larger=16 --iree-hal-target-backends=dylib --iree-mlir-to-vm-bytecode-module -print-ir-after-all -mlir-disable-threading --iree-llvm-debug-symbols=false -o bert4.vmfb
#0 0x0000000006ddcef3 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) /home/vivek/work/02_07/vivekkhandelwal1-iree/third_party/llvm-project/llvm/lib/Support/Unix/Signals.inc:565:13
#1 0x0000000006ddb0b0 llvm::sys::RunSignalHandlers() /home/vivek/work/02_07/vivekkhandelwal1-iree/third_party/llvm-project/llvm/lib/Support/Signals.cpp:98:18
#2 0x0000000006ddd25f SignalHandler(int) /home/vivek/work/02_07/vivekkhandelwal1-iree/third_party/llvm-project/llvm/lib/Support/Unix/Signals.inc:407:1
#3 0x00007f0856e503c0 __restore_rt (/lib/x86_64-linux-gnu/libpthread.so.0+0x153c0)
#4 0x00007f0856a3318b raise /build/glibc-eX1tMB/glibc-2.31/signal/../sysdeps/unix/sysv/linux/raise.c:51:1
#5 0x00007f0856a12859 abort /build/glibc-eX1tMB/glibc-2.31/stdlib/abort.c:81:7
#6 0x00007f0856a12729 get_sysdep_segment_value /build/glibc-eX1tMB/glibc-2.31/intl/loadmsgcat.c:509:8
#7 0x00007f0856a12729 _nl_load_domain /build/glibc-eX1tMB/glibc-2.31/intl/loadmsgcat.c:970:34
#8 0x00007f0856a23f36 (/lib/x86_64-linux-gnu/libc.so.6+0x36f36)
#9 0x000000000679b117 mlir::memref::SubViewOp::inferResultType(mlir::MemRefType, llvm::ArrayRef<long>, llvm::ArrayRef<long>, llvm::ArrayRef<long>) /home/vivek/work/02_07/vivekkhandelwal1-iree/third_party/llvm-project/mlir/lib/Dialect/MemRef/IR/MemRefOps.cpp:1691:3
#10 0x000000000679b3a6 bool mlir::Type::isa<mlir::MemRefType>() const /home/vivek/work/02_07/vivekkhandelwal1-iree/third_party/llvm-project/mlir/include/mlir/IR/Types.h:235:3
#11 0x000000000679b3a6 mlir::MemRefType mlir::Type::cast<mlir::MemRefType>() const /home/vivek/work/02_07/vivekkhandelwal1-iree/third_party/llvm-project/mlir/include/mlir/IR/Types.h:251:3
#12 0x000000000679b3a6 mlir::memref::SubViewOp::inferRankReducedResultType(unsigned int, mlir::MemRefType, llvm::ArrayRef<long>, llvm::ArrayRef<long>, llvm::ArrayRef<long>) /home/vivek/work/02_07/vivekkhandelwal1-iree/third_party/llvm-project/mlir/lib/Dialect/MemRef/IR/MemRefOps.cpp:1751:12
#13 0x000000000679b927 mlir::memref::SubViewOp::inferRankReducedResultType(unsigned int, mlir::MemRefType, llvm::ArrayRef<mlir::OpFoldResult>, llvm::ArrayRef<mlir::OpFoldResult>, llvm::ArrayRef<mlir::OpFoldResult>) /home/vivek/work/02_07/vivekkhandelwal1-iree/third_party/llvm-project/mlir/lib/Dialect/MemRef/IR/MemRefOps.cpp:1786:10
#14 0x00000000039a0318 bool mlir::Type::isa<mlir::MemRefType>() const /home/vivek/work/02_07/vivekkhandelwal1-iree/third_party/llvm-project/llvm/../mlir/include/mlir/IR/Types.h:235:3
#15 0x00000000039a0318 mlir::MemRefType mlir::Type::cast<mlir::MemRefType>() const /home/vivek/work/02_07/vivekkhandelwal1-iree/third_party/llvm-project/llvm/../mlir/include/mlir/IR/Types.h:251:3
#16 0x00000000039a0318 mlir::iree_compiler::createSubviewOp(mlir::OpBuilder&, mlir::Location, unsigned int, mlir::Value, llvm::ArrayRef<mlir::OpFoldResult>, llvm::ArrayRef<mlir::OpFoldResult>, llvm::ArrayRef<mlir::OpFoldResult>) /home/vivek/work/02_07/vivekkhandelwal1-iree/iree/compiler/Codegen/Common/LinalgBufferizePass.cpp:236:23
#17 0x00000000039a3e45 mlir::iree_compiler::getAliasingBufferForResult(mlir::OpBuilder&, mlir::tensor::ExtractSliceOp, mlir::BlockAndValueMapping&) /home/vivek/work/02_07/vivekkhandelwal1-iree/iree/compiler/Codegen/Common/LinalgBufferizePass.cpp:555:10
#18 0x00000000039a3e45 llvm::SmallVector<mlir::Value, 4u> mlir::iree_compiler::getAliasingBuffersForResults(mlir::OpBuilder&, mlir::Operation*, mlir::BlockAndValueMapping&)::$_11::operator()<mlir::tensor::ExtractSliceOp>(mlir::tensor::ExtractSliceOp) const /home/vivek/work/02_07/vivekkhandelwal1-iree/iree/compiler/Codegen/Common/LinalgBufferizePass.cpp:580:17
#19 0x00000000039a3e45 llvm::TypeSwitch<mlir::Operation*, llvm::SmallVector<mlir::Value, 4u> >& llvm::TypeSwitch<mlir::Operation*, llvm::SmallVector<mlir::Value, 4u> >::Case<mlir::tensor::ExtractSliceOp, mlir::iree_compiler::getAliasingBuffersForResults(mlir::OpBuilder&, mlir::Operation*, mlir::BlockAndValueMapping&)::$_11&>(mlir::iree_compiler::getAliasingBuffersForResults(mlir::OpBuilder&, mlir::Operation*, mlir::BlockAndValueMapping&)::$_11&) /home/vivek/work/02_07/vivekkhandelwal1-iree/third_party/llvm-project/llvm/include/llvm/ADT/TypeSwitch.h:122:16
#20 0x00000000039a3e45 mlir::iree_compiler::getAliasingBuffersForResults(mlir::OpBuilder&, mlir::Operation*, mlir::BlockAndValueMapping&) /home/vivek/work/02_07/vivekkhandelwal1-iree/iree/compiler/Codegen/Common/LinalgBufferizePass.cpp:578:8
#21 0x000000000399d594 llvm::SmallVectorTemplateCommon<mlir::Value, void>::begin() const /home/vivek/work/02_07/vivekkhandelwal1-iree/third_party/llvm-project/llvm/include/llvm/Support/Casting.h:0:3
#22 0x000000000399d594 mlir::iree_compiler::(anonymous namespace)::LinalgBufferizePass::runOnOperation()::$_16::operator()(mlir::Operation*) const /home/vivek/work/02_07/vivekkhandelwal1-iree/iree/compiler/Codegen/Common/LinalgBufferizePass.cpp:1056:10
#23 0x0000000006cc203e mlir::detail::walk(mlir::Operation*, llvm::function_ref<mlir::WalkResult (mlir::Operation*)>, mlir::WalkOrder) /home/vivek/work/02_07/vivekkhandelwal1-iree/third_party/llvm-project/mlir/lib/IR/Visitors.cpp:161:9
#24 0x0000000006cc1fde mlir::detail::walk(mlir::Operation*, llvm::function_ref<mlir::WalkResult (mlir::Operation*)>, mlir::WalkOrder) /home/vivek/work/02_07/vivekkhandelwal1-iree/third_party/llvm-project/mlir/lib/IR/Visitors.cpp:0:0
#25 0x0000000006cc1fde mlir::detail::walk(mlir::Operation*, llvm::function_ref<mlir::WalkResult (mlir::Operation*)>, mlir::WalkOrder) /home/vivek/work/02_07/vivekkhandelwal1-iree/third_party/llvm-project/mlir/lib/IR/Visitors.cpp:0:0
#26 0x0000000006cc1fde mlir::detail::walk(mlir::Operation*, llvm::function_ref<mlir::WalkResult (mlir::Operation*)>, mlir::WalkOrder) /home/vivek/work/02_07/vivekkhandelwal1-iree/third_party/llvm-project/mlir/lib/IR/Visitors.cpp:0:0
#27 0x000000000399c020 mlir::WalkResult::wasInterrupted() const /home/vivek/work/02_07/vivekkhandelwal1-iree/third_party/llvm-project/llvm/../mlir/include/mlir/IR/Visitors.h:55:47
#28 0x000000000399c020 mlir::iree_compiler::(anonymous namespace)::LinalgBufferizePass::runOnOperation() /home/vivek/work/02_07/vivekkhandelwal1-iree/iree/compiler/Codegen/Common/LinalgBufferizePass.cpp:1116:18
#29 0x0000000006ab3247 mlir::detail::OpToOpPassAdaptor::run(mlir::Pass*, mlir::Operation*, mlir::AnalysisManager, bool, unsigned int) /home/vivek/work/02_07/vivekkhandelwal1-iree/third_party/llvm-project/mlir/lib/Pass/Pass.cpp:0:11
#30 0x0000000006ab37f4 mlir::LogicalResult::succeeded() const /home/vivek/work/02_07/vivekkhandelwal1-iree/third_party/llvm-project/mlir/include/mlir/Support/LogicalResult.h:41:35
#31 0x0000000006ab37f4 mlir::LogicalResult::failed() const /home/vivek/work/02_07/vivekkhandelwal1-iree/third_party/llvm-project/mlir/include/mlir/Support/LogicalResult.h:44:33
#32 0x0000000006ab37f4 mlir::failed(mlir::LogicalResult) /home/vivek/work/02_07/vivekkhandelwal1-iree/third_party/llvm-project/mlir/include/mlir/Support/LogicalResult.h:72:58
#33 0x0000000006ab37f4 mlir::detail::OpToOpPassAdaptor::runPipeline(llvm::iterator_range<llvm::pointee_iterator<std::unique_ptr<mlir::Pass, std::default_delete<mlir::Pass> >*, mlir::Pass> >, mlir::Operation*, mlir::AnalysisManager, bool, unsigned int, mlir::PassInstrumentor*, mlir::PassInstrumentation::PipelineParentInfo const*) /home/vivek/work/02_07/vivekkhandelwal1-iree/third_party/llvm-project/mlir/lib/Pass/Pass.cpp:452:9
#34 0x0000000006ab4840 mlir::detail::OpToOpPassAdaptor::runOnOperationImpl(bool) /home/vivek/work/02_07/vivekkhandelwal1-iree/third_party/llvm-project/mlir/lib/Pass/Pass.cpp:548:20
#35 0x0000000006ab3287 llvm::optional_detail::OptionalStorage<mlir::detail::PassExecutionState, false>::getValue() & /home/vivek/work/02_07/vivekkhandelwal1-iree/third_party/llvm-project/llvm/include/llvm/ADT/Optional.h:97:5
#36 0x0000000006ab3287 llvm::Optional<mlir::detail::PassExecutionState>::getPointer() /home/vivek/work/02_07/vivekkhandelwal1-iree/third_party/llvm-project/llvm/include/llvm/ADT/Optional.h:282:37
#37 0x0000000006ab3287 llvm::Optional<mlir::detail::PassExecutionState>::operator->() /home/vivek/work/02_07/vivekkhandelwal1-iree/third_party/llvm-project/llvm/include/llvm/ADT/Optional.h:291:28
#38 0x0000000006ab3287 mlir::detail::OpToOpPassAdaptor::run(mlir::Pass*, mlir::Operation*, mlir::AnalysisManager, bool, unsigned int) /home/vivek/work/02_07/vivekkhandelwal1-iree/third_party/llvm-project/mlir/lib/Pass/Pass.cpp:393:21
#39 0x0000000006ab37f4 mlir::LogicalResult::succeeded() const /home/vivek/work/02_07/vivekkhandelwal1-iree/third_party/llvm-project/mlir/include/mlir/Support/LogicalResult.h:41:35
#40 0x0000000006ab37f4 mlir::LogicalResult::failed() const /home/vivek/work/02_07/vivekkhandelwal1-iree/third_party/llvm-project/mlir/include/mlir/Support/LogicalResult.h:44:33
#41 0x0000000006ab37f4 mlir::failed(mlir::LogicalResult) /home/vivek/work/02_07/vivekkhandelwal1-iree/third_party/llvm-project/mlir/include/mlir/Support/LogicalResult.h:72:58
#42 0x0000000006ab37f4 mlir::detail::OpToOpPassAdaptor::runPipeline(llvm::iterator_range<llvm::pointee_iterator<std::unique_ptr<mlir::Pass, std::default_delete<mlir::Pass> >*, mlir::Pass> >, mlir::Operation*, mlir::AnalysisManager, bool, unsigned int, mlir::PassInstrumentor*, mlir::PassInstrumentation::PipelineParentInfo const*) /home/vivek/work/02_07/vivekkhandelwal1-iree/third_party/llvm-project/mlir/lib/Pass/Pass.cpp:452:9
#43 0x0000000006ab4840 mlir::detail::OpToOpPassAdaptor::runOnOperationImpl(bool) /home/vivek/work/02_07/vivekkhandelwal1-iree/third_party/llvm-project/mlir/lib/Pass/Pass.cpp:548:20
#44 0x0000000006ab3287 llvm::optional_detail::OptionalStorage<mlir::detail::PassExecutionState, false>::getValue() & /home/vivek/work/02_07/vivekkhandelwal1-iree/third_party/llvm-project/llvm/include/llvm/ADT/Optional.h:97:5
#45 0x0000000006ab3287 llvm::Optional<mlir::detail::PassExecutionState>::getPointer() /home/vivek/work/02_07/vivekkhandelwal1-iree/third_party/llvm-project/llvm/include/llvm/ADT/Optional.h:282:37
#46 0x0000000006ab3287 llvm::Optional<mlir::detail::PassExecutionState>::operator->() /home/vivek/work/02_07/vivekkhandelwal1-iree/third_party/llvm-project/llvm/include/llvm/ADT/Optional.h:291:28
#47 0x0000000006ab3287 mlir::detail::OpToOpPassAdaptor::run(mlir::Pass*, mlir::Operation*, mlir::AnalysisManager, bool, unsigned int) /home/vivek/work/02_07/vivekkhandelwal1-iree/third_party/llvm-project/mlir/lib/Pass/Pass.cpp:393:21
#48 0x0000000006ab37f4 mlir::LogicalResult::succeeded() const /home/vivek/work/02_07/vivekkhandelwal1-iree/third_party/llvm-project/mlir/include/mlir/Support/LogicalResult.h:41:35
#49 0x0000000006ab37f4 mlir::LogicalResult::failed() const /home/vivek/work/02_07/vivekkhandelwal1-iree/third_party/llvm-project/mlir/include/mlir/Support/LogicalResult.h:44:33
#50 0x0000000006ab37f4 mlir::failed(mlir::LogicalResult) /home/vivek/work/02_07/vivekkhandelwal1-iree/third_party/llvm-project/mlir/include/mlir/Support/LogicalResult.h:72:58
#51 0x0000000006ab37f4 mlir::detail::OpToOpPassAdaptor::runPipeline(llvm::iterator_range<llvm::pointee_iterator<std::unique_ptr<mlir::Pass, std::default_delete<mlir::Pass> >*, mlir::Pass> >, mlir::Operation*, mlir::AnalysisManager, bool, unsigned int, mlir::PassInstrumentor*, mlir::PassInstrumentation::PipelineParentInfo const*) /home/vivek/work/02_07/vivekkhandelwal1-iree/third_party/llvm-project/mlir/lib/Pass/Pass.cpp:452:9
#52 0x0000000006ab7231 mlir::detail::OpToOpPassAdaptor::run(mlir::Pass*, mlir::Operation*, mlir::AnalysisManager, bool, unsigned int)::$_2::operator()(mlir::OpPassManager&, mlir::Operation*) const /home/vivek/work/02_07/vivekkhandelwal1-iree/third_party/llvm-project/mlir/lib/Pass/Pass.cpp:378:12
#53 0x0000000006ab7231 mlir::LogicalResult llvm::function_ref<mlir::LogicalResult (mlir::OpPassManager&, mlir::Operation*)>::callback_fn<mlir::detail::OpToOpPassAdaptor::run(mlir::Pass*, mlir::Operation*, mlir::AnalysisManager, bool, unsigned int)::$_2>(long, mlir::OpPassManager&, mlir::Operation*) /home/vivek/work/02_07/vivekkhandelwal1-iree/third_party/llvm-project/llvm/include/llvm/ADT/STLFunctionalExtras.h:45:12
#54 0x000000000384f4d2 mlir::LogicalResult::succeeded() const /home/vivek/work/02_07/vivekkhandelwal1-iree/third_party/llvm-project/llvm/../mlir/include/mlir/Support/LogicalResult.h:41:35
#55 0x000000000384f4d2 mlir::LogicalResult::failed() const /home/vivek/work/02_07/vivekkhandelwal1-iree/third_party/llvm-project/llvm/../mlir/include/mlir/Support/LogicalResult.h:44:33
#56 0x000000000384f4d2 mlir::failed(mlir::LogicalResult) /home/vivek/work/02_07/vivekkhandelwal1-iree/third_party/llvm-project/llvm/../mlir/include/mlir/Support/LogicalResult.h:72:58
#57 0x000000000384f4d2 mlir::iree_compiler::(anonymous namespace)::LLVMCPULowerExecutableTargetPass::runOnOperation() /home/vivek/work/02_07/vivekkhandelwal1-iree/iree/compiler/Codegen/LLVMCPU/LLVMCPULowerExecutableTarget.cpp:197:7
#58 0x0000000006ab3247 mlir::detail::OpToOpPassAdaptor::run(mlir::Pass*, mlir::Operation*, mlir::AnalysisManager, bool, unsigned int) /home/vivek/work/02_07/vivekkhandelwal1-iree/third_party/llvm-project/mlir/lib/Pass/Pass.cpp:0:11
#59 0x0000000006ab37f4 mlir::LogicalResult::succeeded() const /home/vivek/work/02_07/vivekkhandelwal1-iree/third_party/llvm-project/mlir/include/mlir/Support/LogicalResult.h:41:35
#60 0x0000000006ab37f4 mlir::LogicalResult::failed() const /home/vivek/work/02_07/vivekkhandelwal1-iree/third_party/llvm-project/mlir/include/mlir/Support/LogicalResult.h:44:33
#61 0x0000000006ab37f4 mlir::failed(mlir::LogicalResult) /home/vivek/work/02_07/vivekkhandelwal1-iree/third_party/llvm-project/mlir/include/mlir/Support/LogicalResult.h:72:58
#62 0x0000000006ab37f4 mlir::detail::OpToOpPassAdaptor::runPipeline(llvm::iterator_range<llvm::pointee_iterator<std::unique_ptr<mlir::Pass, std::default_delete<mlir::Pass> >*, mlir::Pass> >, mlir::Operation*, mlir::AnalysisManager, bool, unsigned int, mlir::PassInstrumentor*, mlir::PassInstrumentation::PipelineParentInfo const*) /home/vivek/work/02_07/vivekkhandelwal1-iree/third_party/llvm-project/mlir/lib/Pass/Pass.cpp:452:9
#63 0x0000000006ab7231 mlir::detail::OpToOpPassAdaptor::run(mlir::Pass*, mlir::Operation*, mlir::AnalysisManager, bool, unsigned int)::$_2::operator()(mlir::OpPassManager&, mlir::Operation*) const /home/vivek/work/02_07/vivekkhandelwal1-iree/third_party/llvm-project/mlir/lib/Pass/Pass.cpp:378:12
#64 0x0000000006ab7231 mlir::LogicalResult llvm::function_ref<mlir::LogicalResult (mlir::OpPassManager&, mlir::Operation*)>::callback_fn<mlir::detail::OpToOpPassAdaptor::run(mlir::Pass*, mlir::Operation*, mlir::AnalysisManager, bool, unsigned int)::$_2>(long, mlir::OpPassManager&, mlir::Operation*) /home/vivek/work/02_07/vivekkhandelwal1-iree/third_party/llvm-project/llvm/include/llvm/ADT/STLFunctionalExtras.h:45:12
#65 0x000000000519de57 mlir::LogicalResult::succeeded() const /home/vivek/work/02_07/vivekkhandelwal1-iree/third_party/llvm-project/mlir/include/mlir/Support/LogicalResult.h:41:35
#66 0x000000000519de57 mlir::LogicalResult::failed() const /home/vivek/work/02_07/vivekkhandelwal1-iree/third_party/llvm-project/mlir/include/mlir/Support/LogicalResult.h:44:33
#67 0x000000000519de57 mlir::failed(mlir::LogicalResult) /home/vivek/work/02_07/vivekkhandelwal1-iree/third_party/llvm-project/mlir/include/mlir/Support/LogicalResult.h:72:58
#68 0x000000000519de57 mlir::iree_compiler::IREE::HAL::TranslateTargetExecutableVariantsPass::runOnOperation() /home/vivek/work/02_07/vivekkhandelwal1-iree/iree/compiler/Dialect/HAL/Transforms/TranslateExecutables.cpp:67:9
#69 0x0000000006ab3247 mlir::detail::OpToOpPassAdaptor::run(mlir::Pass*, mlir::Operation*, mlir::AnalysisManager, bool, unsigned int) /home/vivek/work/02_07/vivekkhandelwal1-iree/third_party/llvm-project/mlir/lib/Pass/Pass.cpp:0:11
#70 0x0000000006ab37f4 mlir::LogicalResult::succeeded() const /home/vivek/work/02_07/vivekkhandelwal1-iree/third_party/llvm-project/mlir/include/mlir/Support/LogicalResult.h:41:35
#71 0x0000000006ab37f4 mlir::LogicalResult::failed() const /home/vivek/work/02_07/vivekkhandelwal1-iree/third_party/llvm-project/mlir/include/mlir/Support/LogicalResult.h:44:33
#72 0x0000000006ab37f4 mlir::failed(mlir::LogicalResult) /home/vivek/work/02_07/vivekkhandelwal1-iree/third_party/llvm-project/mlir/include/mlir/Support/LogicalResult.h:72:58
#73 0x0000000006ab37f4 mlir::detail::OpToOpPassAdaptor::runPipeline(llvm::iterator_range<llvm::pointee_iterator<std::unique_ptr<mlir::Pass, std::default_delete<mlir::Pass> >*, mlir::Pass> >, mlir::Operation*, mlir::AnalysisManager, bool, unsigned int, mlir::PassInstrumentor*, mlir::PassInstrumentation::PipelineParentInfo const*) /home/vivek/work/02_07/vivekkhandelwal1-iree/third_party/llvm-project/mlir/lib/Pass/Pass.cpp:452:9
#74 0x0000000006ab4840 mlir::detail::OpToOpPassAdaptor::runOnOperationImpl(bool) /home/vivek/work/02_07/vivekkhandelwal1-iree/third_party/llvm-project/mlir/lib/Pass/Pass.cpp:548:20
#75 0x0000000006ab3287 llvm::optional_detail::OptionalStorage<mlir::detail::PassExecutionState, false>::getValue() & /home/vivek/work/02_07/vivekkhandelwal1-iree/third_party/llvm-project/llvm/include/llvm/ADT/Optional.h:97:5
#76 0x0000000006ab3287 llvm::Optional<mlir::detail::PassExecutionState>::getPointer() /home/vivek/work/02_07/vivekkhandelwal1-iree/third_party/llvm-project/llvm/include/llvm/ADT/Optional.h:282:37
#77 0x0000000006ab3287 llvm::Optional<mlir::detail::PassExecutionState>::operator->() /home/vivek/work/02_07/vivekkhandelwal1-iree/third_party/llvm-project/llvm/include/llvm/ADT/Optional.h:291:28
#78 0x0000000006ab3287 mlir::detail::OpToOpPassAdaptor::run(mlir::Pass*, mlir::Operation*, mlir::AnalysisManager, bool, unsigned int) /home/vivek/work/02_07/vivekkhandelwal1-iree/third_party/llvm-project/mlir/lib/Pass/Pass.cpp:393:21
#79 0x0000000006ab37f4 mlir::LogicalResult::succeeded() const /home/vivek/work/02_07/vivekkhandelwal1-iree/third_party/llvm-project/mlir/include/mlir/Support/LogicalResult.h:41:35
#80 0x0000000006ab37f4 mlir::LogicalResult::failed() const /home/vivek/work/02_07/vivekkhandelwal1-iree/third_party/llvm-project/mlir/include/mlir/Support/LogicalResult.h:44:33
#81 0x0000000006ab37f4 mlir::failed(mlir::LogicalResult) /home/vivek/work/02_07/vivekkhandelwal1-iree/third_party/llvm-project/mlir/include/mlir/Support/LogicalResult.h:72:58
#82 0x0000000006ab37f4 mlir::detail::OpToOpPassAdaptor::runPipeline(llvm::iterator_range<llvm::pointee_iterator<std::unique_ptr<mlir::Pass, std::default_delete<mlir::Pass> >*, mlir::Pass> >, mlir::Operation*, mlir::AnalysisManager, bool, unsigned int, mlir::PassInstrumentor*, mlir::PassInstrumentation::PipelineParentInfo const*) /home/vivek/work/02_07/vivekkhandelwal1-iree/third_party/llvm-project/mlir/lib/Pass/Pass.cpp:452:9
#83 0x0000000006ab7231 mlir::detail::OpToOpPassAdaptor::run(mlir::Pass*, mlir::Operation*, mlir::AnalysisManager, bool, unsigned int)::$_2::operator()(mlir::OpPassManager&, mlir::Operation*) const /home/vivek/work/02_07/vivekkhandelwal1-iree/third_party/llvm-project/mlir/lib/Pass/Pass.cpp:378:12
#84 0x0000000006ab7231 mlir::LogicalResult llvm::function_ref<mlir::LogicalResult (mlir::OpPassManager&, mlir::Operation*)>::callback_fn<mlir::detail::OpToOpPassAdaptor::run(mlir::Pass*, mlir::Operation*, mlir::AnalysisManager, bool, unsigned int)::$_2>(long, mlir::OpPassManager&, mlir::Operation*) /home/vivek/work/02_07/vivekkhandelwal1-iree/third_party/llvm-project/llvm/include/llvm/ADT/STLFunctionalExtras.h:45:12
#85 0x000000000519e8d3 mlir::LogicalResult::succeeded() const /home/vivek/work/02_07/vivekkhandelwal1-iree/third_party/llvm-project/mlir/include/mlir/Support/LogicalResult.h:41:35
#86 0x000000000519e8d3 mlir::LogicalResult::failed() const /home/vivek/work/02_07/vivekkhandelwal1-iree/third_party/llvm-project/mlir/include/mlir/Support/LogicalResult.h:44:33
#87 0x000000000519e8d3 mlir::failed(mlir::LogicalResult) /home/vivek/work/02_07/vivekkhandelwal1-iree/third_party/llvm-project/mlir/include/mlir/Support/LogicalResult.h:72:58
#88 0x000000000519e8d3 mlir::iree_compiler::IREE::HAL::TranslateExecutablesPass::runOnOperation() /home/vivek/work/02_07/vivekkhandelwal1-iree/iree/compiler/Dialect/HAL/Transforms/TranslateExecutables.cpp:121:9
#89 0x0000000006ab3247 mlir::detail::OpToOpPassAdaptor::run(mlir::Pass*, mlir::Operation*, mlir::AnalysisManager, bool, unsigned int) /home/vivek/work/02_07/vivekkhandelwal1-iree/third_party/llvm-project/mlir/lib/Pass/Pass.cpp:0:11
#90 0x0000000006ab37f4 mlir::LogicalResult::succeeded() const /home/vivek/work/02_07/vivekkhandelwal1-iree/third_party/llvm-project/mlir/include/mlir/Support/LogicalResult.h:41:35
#91 0x0000000006ab37f4 mlir::LogicalResult::failed() const /home/vivek/work/02_07/vivekkhandelwal1-iree/third_party/llvm-project/mlir/include/mlir/Support/LogicalResult.h:44:33
#92 0x0000000006ab37f4 mlir::failed(mlir::LogicalResult) /home/vivek/work/02_07/vivekkhandelwal1-iree/third_party/llvm-project/mlir/include/mlir/Support/LogicalResult.h:72:58
#93 0x0000000006ab37f4 mlir::detail::OpToOpPassAdaptor::runPipeline(llvm::iterator_range<llvm::pointee_iterator<std::unique_ptr<mlir::Pass, std::default_delete<mlir::Pass> >*, mlir::Pass> >, mlir::Operation*, mlir::AnalysisManager, bool, unsigned int, mlir::PassInstrumentor*, mlir::PassInstrumentation::PipelineParentInfo const*) /home/vivek/work/02_07/vivekkhandelwal1-iree/third_party/llvm-project/mlir/lib/Pass/Pass.cpp:452:9
#94 0x0000000006ab4840 mlir::detail::OpToOpPassAdaptor::runOnOperationImpl(bool) /home/vivek/work/02_07/vivekkhandelwal1-iree/third_party/llvm-project/mlir/lib/Pass/Pass.cpp:548:20
#95 0x0000000006ab3287 llvm::optional_detail::OptionalStorage<mlir::detail::PassExecutionState, false>::getValue() & /home/vivek/work/02_07/vivekkhandelwal1-iree/third_party/llvm-project/llvm/include/llvm/ADT/Optional.h:97:5
#96 0x0000000006ab3287 llvm::Optional<mlir::detail::PassExecutionState>::getPointer() /home/vivek/work/02_07/vivekkhandelwal1-iree/third_party/llvm-project/llvm/include/llvm/ADT/Optional.h:282:37
#97 0x0000000006ab3287 llvm::Optional<mlir::detail::PassExecutionState>::operator->() /home/vivek/work/02_07/vivekkhandelwal1-iree/third_party/llvm-project/llvm/include/llvm/ADT/Optional.h:291:28
#98 0x0000000006ab3287 mlir::detail::OpToOpPassAdaptor::run(mlir::Pass*, mlir::Operation*, mlir::AnalysisManager, bool, unsigned int) /home/vivek/work/02_07/vivekkhandelwal1-iree/third_party/llvm-project/mlir/lib/Pass/Pass.cpp:393:21
#99 0x0000000006ab5366 mlir::LogicalResult::succeeded() const /home/vivek/work/02_07/vivekkhandelwal1-iree/third_party/llvm-project/mlir/include/mlir/Support/LogicalResult.h:41:35
#100 0x0000000006ab5366 mlir::LogicalResult::failed() const /home/vivek/work/02_07/vivekkhandelwal1-iree/third_party/llvm-project/mlir/include/mlir/Support/LogicalResult.h:44:33
#101 0x0000000006ab5366 mlir::failed(mlir::LogicalResult) /home/vivek/work/02_07/vivekkhandelwal1-iree/third_party/llvm-project/mlir/include/mlir/Support/LogicalResult.h:72:58
#102 0x0000000006ab5366 mlir::detail::OpToOpPassAdaptor::runPipeline(llvm::iterator_range<llvm::pointee_iterator<std::unique_ptr<mlir::Pass, std::default_delete<mlir::Pass> >*, mlir::Pass> >, mlir::Operation*, mlir::AnalysisManager, bool, unsigned int, mlir::PassInstrumentor*, mlir::PassInstrumentation::PipelineParentInfo const*) /home/vivek/work/02_07/vivekkhandelwal1-iree/third_party/llvm-project/mlir/lib/Pass/Pass.cpp:452:9
#103 0x0000000006ab5366 mlir::PassManager::runPasses(mlir::Operation*, mlir::AnalysisManager) /home/vivek/work/02_07/vivekkhandelwal1-iree/third_party/llvm-project/mlir/lib/Pass/Pass.cpp:696:10
#104 0x0000000006ab51ac mlir::PassManager::run(mlir::Operation*) /home/vivek/work/02_07/vivekkhandelwal1-iree/third_party/llvm-project/mlir/lib/Pass/Pass.cpp:0:0
#105 0x0000000004be0eb1 mlir::iree_compiler::translateFromMLIRToVM(mlir::ModuleOp, mlir::iree_compiler::BindingOptions, mlir::iree_compiler::InputDialectOptions, mlir::iree_compiler::HighLevelOptimizationOptions, mlir::iree_compiler::SchedulingOptions, mlir::iree_compiler::IREE::HAL::TargetOptions, mlir::iree_compiler::IREE::VM::TargetOptions) /home/vivek/work/02_07/vivekkhandelwal1-iree/iree/compiler/Translation/IREEVM.cpp:0:26
#106 0x0000000004be01d6 mlir::iree_compiler::translateFromMLIRToVMBytecodeModuleWithFlags(mlir::ModuleOp, llvm::raw_ostream&) /home/vivek/work/02_07/vivekkhandelwal1-iree/iree/compiler/Translation/IREEVM.cpp:240:17
#107 0x000000000543857e std::function<mlir::LogicalResult (mlir::ModuleOp, llvm::raw_ostream&)>::operator()(mlir::ModuleOp, llvm::raw_ostream&) const /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/std_function.h:688:14
#108 0x000000000543857e mlir::TranslateFromMLIRRegistration::TranslateFromMLIRRegistration(llvm::StringRef, std::function<mlir::LogicalResult (mlir::ModuleOp, llvm::raw_ostream&)> const&, std::function<void (mlir::DialectRegistry&)> const&)::$_1::operator()(llvm::SourceMgr&, llvm::raw_ostream&, mlir::MLIRContext*) const /home/vivek/work/02_07/vivekkhandelwal1-iree/third_party/llvm-project/mlir/lib/Translation/Translation.cpp:107:12
#109 0x000000000543857e std::_Function_handler<mlir::LogicalResult (llvm::SourceMgr&, llvm::raw_ostream&, mlir::MLIRContext*), mlir::TranslateFromMLIRRegistration::TranslateFromMLIRRegistration(llvm::StringRef, std::function<mlir::LogicalResult (mlir::ModuleOp, llvm::raw_ostream&)> const&, std::function<void (mlir::DialectRegistry&)> const&)::$_1>::_M_invoke(std::_Any_data const&, llvm::SourceMgr&, llvm::raw_ostream&, mlir::MLIRContext*&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/std_function.h:285:9
#110 0x0000000002cd8788 std::function<mlir::LogicalResult (llvm::SourceMgr&, llvm::raw_ostream&, mlir::MLIRContext*)>::operator()(llvm::SourceMgr&, llvm::raw_ostream&, mlir::MLIRContext*) const /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/std_function.h:688:14
#111 0x0000000002cd8788 mlir::iree_compiler::runIreeTranslateMain(int, char**)::$_0::operator()(std::unique_ptr<llvm::MemoryBuffer, std::default_delete<llvm::MemoryBuffer> >, llvm::raw_ostream&) const /home/vivek/work/02_07/vivekkhandelwal1-iree/iree/tools/iree_translate_lib.cc:115:12
#112 0x0000000002cd81dc mlir::iree_compiler::runIreeTranslateMain(int, char**) /home/vivek/work/02_07/vivekkhandelwal1-iree/iree/tools/iree_translate_lib.cc:123:16
#113 0x00007f0856a140b3 __libc_start_main /build/glibc-eX1tMB/glibc-2.31/csu/../csu/libc-start.c:342:3
#114 0x0000000002cd790e _start (./build/iree/tools/iree-translate+0x2cd790e)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment