Skip to content

Instantly share code, notes, and snippets.

@pashu123
Created November 7, 2024 13:18
Show Gist options
  • Save pashu123/513859fb84b5587612361bfaf1accfeb to your computer and use it in GitHub Desktop.
Save pashu123/513859fb84b5587612361bfaf1accfeb to your computer and use it in GitHub Desktop.
<unknown>:0: error: invalid size -9223372036854775808 for !torch.tensor type
iree-compile: iree/third_party/llvm-project/mlir/include/mlir/IR/StorageUniquerSupport.h:180: static ConcreteT mlir::detail::StorageUserBase<mlir::torch::Torch::ValueTensorType, mlir::torch::Torch::BaseTensorType, mlir::torch::Torch::detail::ValueTensorTypeStorage, mlir::detail::TypeUniquer>::get(MLIRContext *, Args &&...) [ConcreteT = mlir::torch::Torch::ValueTensorType, BaseT = mlir::torch::Torch::BaseTensorType, StorageT = mlir::torch::Torch::detail::ValueTensorTypeStorage, UniquerT = mlir::detail::TypeUniquer, Traits = <>, Args = <std::optional<llvm::ArrayRef<long>> &, mlir::Type &, mlir::Attribute &>]: Assertion `succeeded( ConcreteT::verifyInvariants(getDefaultDiagnosticEmitFn(ctx), args...))' failed.
Please report issues to https://github.com/iree-org/iree/issues and include the crash backtrace.
Stack dump:
0. Program arguments: iree-compile --iree-hal-target-backends=llvm-cpu new_onnx.mlir -o abc.vmfb --iree-llvmcpu-target-cpu=host
#0 0x000076aef4672168 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) /home/prashant/iree/third_party/llvm-project/llvm/lib/Support/Unix/Signals.inc:723:13
#1 0x000076aef4670380 llvm::sys::RunSignalHandlers() /home/prashant/iree/third_party/llvm-project/llvm/lib/Support/Signals.cpp:106:18
#2 0x000076aef4672808 SignalHandler(int) /home/prashant/iree/third_party/llvm-project/llvm/lib/Support/Unix/Signals.inc:413:1
#3 0x000076aeee842520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x000076aeee8969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x000076aeee8969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x000076aeee8969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x000076aeee842476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x000076aeee8287f3 abort ./stdlib/abort.c:81:7
#9 0x000076aeee82871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x000076aeee839e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x000076aef5669f3c (/home/prashant/iree-build/lib/libIREECompiler.so+0x6669f3c)
#12 0x000076aef5666bb1 mlir::torch::Torch::ValueTensorType::get(mlir::MLIRContext*, std::optional<llvm::ArrayRef<long>>, mlir::Type, mlir::Attribute) /home/prashant/iree-build/compiler/plugins/input/Torch/torch-mlir/Dialect/Torch/IR/TorchTypes.cpp.inc:382:3
#13 0x000076aef5434fb9 mlir::TypeStorage::getAbstractType() /home/prashant/iree/third_party/llvm-project/mlir/include/mlir/IR/TypeSupport.h:173:5
#14 0x000076aef5434fb9 mlir::Type::getTypeID() /home/prashant/iree/third_party/llvm-project/mlir/include/mlir/IR/Types.h:117:37
#15 0x000076aef5434fb9 bool mlir::detail::StorageUserBase<mlir::torch::Torch::NonValueTensorType, mlir::torch::Torch::BaseTensorType, mlir::torch::Torch::detail::NonValueTensorTypeStorage, mlir::detail::TypeUniquer>::classof<mlir::Type>(mlir::Type) /home/prashant/iree/third_party/llvm-project/mlir/include/mlir/IR/StorageUniquerSupport.h:113:16
#16 0x000076aef5434fb9 llvm::CastInfo<mlir::torch::Torch::NonValueTensorType, mlir::Type const, void>::isPossible(mlir::Type) /home/prashant/iree/third_party/llvm-project/mlir/include/mlir/IR/Types.h:423:14
#17 0x000076aef5434fb9 bool llvm::isa<mlir::torch::Torch::NonValueTensorType, mlir::Type>(mlir::Type const&) /home/prashant/iree/third_party/llvm-project/llvm/include/llvm/Support/Casting.h:549:10
#18 0x000076aef5434fb9 bool llvm::isa<mlir::torch::Torch::NonValueTensorType, mlir::torch::Torch::ValueTensorType, mlir::Type>(mlir::Type const&) /home/prashant/iree/third_party/llvm-project/llvm/include/llvm/Support/Casting.h:554:10
#19 0x000076aef5434fb9 mlir::torch::Torch::BaseTensorType::classof(mlir::Type) /home/prashant/iree/third_party/torch-mlir/include/torch-mlir/Dialect/Torch/IR/TorchTypes.h:163:10
#20 0x000076aef5434fb9 llvm::CastInfo<mlir::torch::Torch::BaseTensorType, mlir::Type const, void>::isPossible(mlir::Type) /home/prashant/iree/third_party/llvm-project/mlir/include/mlir/IR/Types.h:423:14
#21 0x000076aef5434fb9 bool llvm::isa<mlir::torch::Torch::BaseTensorType, mlir::Type>(mlir::Type const&) /home/prashant/iree/third_party/llvm-project/llvm/include/llvm/Support/Casting.h:549:10
#22 0x000076aef5434fb9 decltype(auto) llvm::cast<mlir::torch::Torch::BaseTensorType, mlir::Type>(mlir::Type const&) /home/prashant/iree/third_party/llvm-project/llvm/include/llvm/Support/Casting.h:566:3
#23 0x000076aef5434fb9 refineShapeCalculateResult(mlir::torch::Torch::ShapeCalculateOp, int, mlir::PatternRewriter&) /home/prashant/iree/third_party/torch-mlir/lib/Dialect/Torch/Transforms/SimplifyShapeCalculations.cpp:156:32
#24 0x000076aef5434fb9 (anonymous namespace)::RefineShapeCalculateOp::matchAndRewrite(mlir::torch::Torch::ShapeCalculateOp, mlir::PatternRewriter&) const /home/prashant/iree/third_party/torch-mlir/lib/Dialect/Torch/Transforms/SimplifyShapeCalculations.cpp:175:21
#25 0x000076aef89bed08 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&)>)::$_0::operator()() const /home/prashant/iree/third_party/llvm-project/mlir/lib/Rewrite/PatternApplicator.cpp:212:13
#26 0x000076aef89bed08 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<llvm::LogicalResult (mlir::Pattern const&)>)::$_0>(long) /home/prashant/iree/third_party/llvm-project/llvm/include/llvm/ADT/STLFunctionalExtras.h:45:12
#27 0x000076aef89bbe7a 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&)>) /home/prashant/iree/third_party/llvm-project/mlir/lib/Rewrite/PatternApplicator.cpp:233:9
#28 0x000076aef899f4e8 (anonymous namespace)::GreedyPatternRewriteDriver::processWorklist() /home/prashant/iree/third_party/llvm-project/mlir/lib/Transforms/Utils/GreedyPatternRewriteDriver.cpp:0:0
#29 0x000076aef899c227 (anonymous namespace)::RegionPatternRewriteDriver::simplify(bool*) &&::$_2::operator()() const /home/prashant/iree/third_party/llvm-project/mlir/lib/Transforms/Utils/GreedyPatternRewriteDriver.cpp:874:11
#30 0x000076aef899c227 void llvm::function_ref<void ()>::callback_fn<(anonymous namespace)::RegionPatternRewriteDriver::simplify(bool*) &&::$_2>(long) /home/prashant/iree/third_party/llvm-project/llvm/include/llvm/ADT/STLFunctionalExtras.h:45:12
#31 0x000076aef899c227 llvm::function_ref<void ()>::operator()() const /home/prashant/iree/third_party/llvm-project/llvm/include/llvm/ADT/STLFunctionalExtras.h:68:12
#32 0x000076aef899c227 void mlir::MLIRContext::executeAction<(anonymous namespace)::GreedyPatternRewriteIteration, long&>(llvm::function_ref<void ()>, llvm::ArrayRef<mlir::IRUnit>, long&) /home/prashant/iree/third_party/llvm-project/mlir/include/mlir/IR/MLIRContext.h:280:7
#33 0x000076aef899c227 (anonymous namespace)::RegionPatternRewriteDriver::simplify(bool*) && /home/prashant/iree/third_party/llvm-project/mlir/lib/Transforms/Utils/GreedyPatternRewriteDriver.cpp:872:10
#34 0x000076aef899c227 mlir::applyPatternsAndFoldGreedily(mlir::Region&, mlir::FrozenRewritePatternSet const&, mlir::GreedyRewriteConfig, bool*) /home/prashant/iree/third_party/llvm-project/mlir/lib/Transforms/Utils/GreedyPatternRewriteDriver.cpp:919:47
#35 0x000076aef54341aa llvm::LogicalResult::failed() const /home/prashant/iree/third_party/llvm-project/llvm/include/llvm/Support/LogicalResult.h:43:43
#36 0x000076aef54341aa mlir::applyPatternsAndFoldGreedily(mlir::Operation*, mlir::FrozenRewritePatternSet const&, mlir::GreedyRewriteConfig, bool*) /home/prashant/iree/third_party/llvm-project/mlir/include/mlir/Transforms/GreedyPatternRewriteDriver.h:160:14
#37 0x000076aef54341aa (anonymous namespace)::SimplifyShapeCalculationsPass::runOnOperation() /home/prashant/iree/third_party/torch-mlir/lib/Dialect/Torch/Transforms/SimplifyShapeCalculations.cpp:208:16
#38 0x000076aef485b79f mlir::detail::OpToOpPassAdaptor::run(mlir::Pass*, mlir::Operation*, mlir::AnalysisManager, bool, unsigned int)::$_1::operator()() const /home/prashant/iree/third_party/llvm-project/mlir/lib/Pass/Pass.cpp:0:17
#39 0x000076aef485b79f void llvm::function_ref<void ()>::callback_fn<mlir::detail::OpToOpPassAdaptor::run(mlir::Pass*, mlir::Operation*, mlir::AnalysisManager, bool, unsigned int)::$_1>(long) /home/prashant/iree/third_party/llvm-project/llvm/include/llvm/ADT/STLFunctionalExtras.h:45:12
#40 0x000076aef485b79f llvm::function_ref<void ()>::operator()() const /home/prashant/iree/third_party/llvm-project/llvm/include/llvm/ADT/STLFunctionalExtras.h:68:12
#41 0x000076aef485b79f void mlir::MLIRContext::executeAction<mlir::PassExecutionAction, mlir::Pass&>(llvm::function_ref<void ()>, llvm::ArrayRef<mlir::IRUnit>, mlir::Pass&) /home/prashant/iree/third_party/llvm-project/mlir/include/mlir/IR/MLIRContext.h:280:7
#42 0x000076aef485b79f mlir::detail::OpToOpPassAdaptor::run(mlir::Pass*, mlir::Operation*, mlir::AnalysisManager, bool, unsigned int) /home/prashant/iree/third_party/llvm-project/mlir/lib/Pass/Pass.cpp:520:21
#43 0x000076aef485c057 llvm::LogicalResult::failed() const /home/prashant/iree/third_party/llvm-project/llvm/include/llvm/Support/LogicalResult.h:43:43
#44 0x000076aef485c057 llvm::failed(llvm::LogicalResult) /home/prashant/iree/third_party/llvm-project/llvm/include/llvm/Support/LogicalResult.h:71:58
#45 0x000076aef485c057 mlir::detail::OpToOpPassAdaptor::runPipeline(mlir::OpPassManager&, mlir::Operation*, mlir::AnalysisManager, bool, unsigned int, mlir::PassInstrumentor*, mlir::PassInstrumentation::PipelineParentInfo const*) /home/prashant/iree/third_party/llvm-project/mlir/lib/Pass/Pass.cpp:592:9
#46 0x000076aef486101a llvm::LogicalResult::failed() const /home/prashant/iree/third_party/llvm-project/llvm/include/llvm/Support/LogicalResult.h:43:43
#47 0x000076aef486101a llvm::failed(llvm::LogicalResult) /home/prashant/iree/third_party/llvm-project/llvm/include/llvm/Support/LogicalResult.h:71:58
#48 0x000076aef486101a mlir::detail::OpToOpPassAdaptor::runOnOperationAsyncImpl(bool)::$_0::operator()(mlir::detail::OpToOpPassAdaptor::runOnOperationAsyncImpl(bool)::OpPMInfo&) const /home/prashant/iree/third_party/llvm-project/mlir/lib/Pass/Pass.cpp:816:9
#49 0x000076aef486101a auto void mlir::parallelForEach<__gnu_cxx::__normal_iterator<mlir::detail::OpToOpPassAdaptor::runOnOperationAsyncImpl(bool)::OpPMInfo*, std::vector<mlir::detail::OpToOpPassAdaptor::runOnOperationAsyncImpl(bool)::OpPMInfo, std::allocator<mlir::detail::OpToOpPassAdaptor::runOnOperationAsyncImpl(bool)::OpPMInfo>>>, mlir::detail::OpToOpPassAdaptor::runOnOperationAsyncImpl(bool)::$_0>(mlir::MLIRContext*, __gnu_cxx::__normal_iterator<mlir::detail::OpToOpPassAdaptor::runOnOperationAsyncImpl(bool)::OpPMInfo*, std::vector<mlir::detail::OpToOpPassAdaptor::runOnOperationAsyncImpl(bool)::OpPMInfo, std::allocator<mlir::detail::OpToOpPassAdaptor::runOnOperationAsyncImpl(bool)::OpPMInfo>>>, __gnu_cxx::__normal_iterator<mlir::detail::OpToOpPassAdaptor::runOnOperationAsyncImpl(bool)::OpPMInfo*, std::vector<mlir::detail::OpToOpPassAdaptor::runOnOperationAsyncImpl(bool)::OpPMInfo, std::allocator<mlir::detail::OpToOpPassAdaptor::runOnOperationAsyncImpl(bool)::OpPMInfo>>>, mlir::detail::OpToOpPassAdaptor::runOnOperationAsyncImpl(bool)::$_0&&)::'lambda'(__gnu_cxx::__normal_iterator<mlir::detail::OpToOpPassAdaptor::runOnOperationAsyncImpl(bool)::OpPMInfo*, std::vector<mlir::detail::OpToOpPassAdaptor::runOnOperationAsyncImpl(bool)::OpPMInfo, std::allocator<mlir::detail::OpToOpPassAdaptor::runOnOperationAsyncImpl(bool)::OpPMInfo>>>&&)::operator()<mlir::detail::OpToOpPassAdaptor::runOnOperationAsyncImpl(bool)::OpPMInfo&>(__gnu_cxx::__normal_iterator<mlir::detail::OpToOpPassAdaptor::runOnOperationAsyncImpl(bool)::OpPMInfo*, std::vector<mlir::detail::OpToOpPassAdaptor::runOnOperationAsyncImpl(bool)::OpPMInfo, std::allocator<mlir::detail::OpToOpPassAdaptor::runOnOperationAsyncImpl(bool)::OpPMInfo>>>&&) const /home/prashant/iree/third_party/llvm-project/mlir/include/mlir/IR/Threading.h:120:12
#50 0x000076aef485d61b llvm::LogicalResult mlir::failableParallelForEach<__gnu_cxx::__normal_iterator<mlir::detail::OpToOpPassAdaptor::runOnOperationAsyncImpl(bool)::OpPMInfo*, std::vector<mlir::detail::OpToOpPassAdaptor::runOnOperationAsyncImpl(bool)::OpPMInfo, std::allocator<mlir::detail::OpToOpPassAdaptor::runOnOperationAsyncImpl(bool)::OpPMInfo>>>, void mlir::parallelForEach<__gnu_cxx::__normal_iterator<mlir::detail::OpToOpPassAdaptor::runOnOperationAsyncImpl(bool)::OpPMInfo*, std::vector<mlir::detail::OpToOpPassAdaptor::runOnOperationAsyncImpl(bool)::OpPMInfo, std::allocator<mlir::detail::OpToOpPassAdaptor::runOnOperationAsyncImpl(bool)::OpPMInfo>>>, mlir::detail::OpToOpPassAdaptor::runOnOperationAsyncImpl(bool)::$_0>(mlir::MLIRContext*, __gnu_cxx::__normal_iterator<mlir::detail::OpToOpPassAdaptor::runOnOperationAsyncImpl(bool)::OpPMInfo*, std::vector<mlir::detail::OpToOpPassAdaptor::runOnOperationAsyncImpl(bool)::OpPMInfo, std::allocator<mlir::detail::OpToOpPassAdaptor::runOnOperationAsyncImpl(bool)::OpPMInfo>>>, __gnu_cxx::__normal_iterator<mlir::detail::OpToOpPassAdaptor::runOnOperationAsyncImpl(bool)::OpPMInfo*, std::vector<mlir::detail::OpToOpPassAdaptor::runOnOperationAsyncImpl(bool)::OpPMInfo, std::allocator<mlir::detail::OpToOpPassAdaptor::runOnOperationAsyncImpl(bool)::OpPMInfo>>>, mlir::detail::OpToOpPassAdaptor::runOnOperationAsyncImpl(bool)::$_0&&)::'lambda'(__gnu_cxx::__normal_iterator<mlir::detail::OpToOpPassAdaptor::runOnOperationAsyncImpl(bool)::OpPMInfo*, std::vector<mlir::detail::OpToOpPassAdaptor::runOnOperationAsyncImpl(bool)::OpPMInfo, std::allocator<mlir::detail::OpToOpPassAdaptor::runOnOperationAsyncImpl(bool)::OpPMInfo>>>&&)>(mlir::MLIRContext*, __gnu_cxx::__normal_iterator<mlir::detail::OpToOpPassAdaptor::runOnOperationAsyncImpl(bool)::OpPMInfo*, std::vector<mlir::detail::OpToOpPassAdaptor::runOnOperationAsyncImpl(bool)::OpPMInfo, std::allocator<mlir::detail::OpToOpPassAdaptor::runOnOperationAsyncImpl(bool)::OpPMInfo>>>, __gnu_cxx::__normal_iterator<mlir::detail::OpToOpPassAdaptor::runOnOperationAsyncImpl(bool)::OpPMInfo*, std::vector<mlir::detail::OpToOpPassAdaptor::runOnOperationAsyncImpl(bool)::OpPMInfo, std::allocator<mlir::detail::OpToOpPassAdaptor::runOnOperationAsyncImpl(bool)::OpPMInfo>>>, mlir::detail::OpToOpPassAdaptor::runOnOperationAsyncImpl(bool)::$_0&&) /home/prashant/iree/third_party/llvm-project/mlir/include/mlir/IR/Threading.h:0:18
#51 0x000076aef485d61b void mlir::parallelForEach<__gnu_cxx::__normal_iterator<mlir::detail::OpToOpPassAdaptor::runOnOperationAsyncImpl(bool)::OpPMInfo*, std::vector<mlir::detail::OpToOpPassAdaptor::runOnOperationAsyncImpl(bool)::OpPMInfo, std::allocator<mlir::detail::OpToOpPassAdaptor::runOnOperationAsyncImpl(bool)::OpPMInfo>>>, mlir::detail::OpToOpPassAdaptor::runOnOperationAsyncImpl(bool)::$_0>(mlir::MLIRContext*, __gnu_cxx::__normal_iterator<mlir::detail::OpToOpPassAdaptor::runOnOperationAsyncImpl(bool)::OpPMInfo*, std::vector<mlir::detail::OpToOpPassAdaptor::runOnOperationAsyncImpl(bool)::OpPMInfo, std::allocator<mlir::detail::OpToOpPassAdaptor::runOnOperationAsyncImpl(bool)::OpPMInfo>>>, __gnu_cxx::__normal_iterator<mlir::detail::OpToOpPassAdaptor::runOnOperationAsyncImpl(bool)::OpPMInfo*, std::vector<mlir::detail::OpToOpPassAdaptor::runOnOperationAsyncImpl(bool)::OpPMInfo, std::allocator<mlir::detail::OpToOpPassAdaptor::runOnOperationAsyncImpl(bool)::OpPMInfo>>>, mlir::detail::OpToOpPassAdaptor::runOnOperationAsyncImpl(bool)::$_0&&) /home/prashant/iree/third_party/llvm-project/mlir/include/mlir/IR/Threading.h:119:9
#52 0x000076aef485d61b void mlir::parallelForEach<std::vector<mlir::detail::OpToOpPassAdaptor::runOnOperationAsyncImpl(bool)::OpPMInfo, std::allocator<mlir::detail::OpToOpPassAdaptor::runOnOperationAsyncImpl(bool)::OpPMInfo>>&, mlir::detail::OpToOpPassAdaptor::runOnOperationAsyncImpl(bool)::$_0>(mlir::MLIRContext*, std::vector<mlir::detail::OpToOpPassAdaptor::runOnOperationAsyncImpl(bool)::OpPMInfo, std::allocator<mlir::detail::OpToOpPassAdaptor::runOnOperationAsyncImpl(bool)::OpPMInfo>>&, mlir::detail::OpToOpPassAdaptor::runOnOperationAsyncImpl(bool)::$_0&&) /home/prashant/iree/third_party/llvm-project/mlir/include/mlir/IR/Threading.h:131:3
#53 0x000076aef485d61b mlir::detail::OpToOpPassAdaptor::runOnOperationAsyncImpl(bool) /home/prashant/iree/third_party/llvm-project/mlir/lib/Pass/Pass.cpp:803:3
#54 0x000076aef485b939 mlir::detail::OpToOpPassAdaptor::runOnOperation(bool) /home/prashant/iree/third_party/llvm-project/mlir/lib/Pass/Pass.cpp:0:5
#55 0x000076aef485b939 mlir::detail::OpToOpPassAdaptor::run(mlir::Pass*, mlir::Operation*, mlir::AnalysisManager, bool, unsigned int)::$_1::operator()() const /home/prashant/iree/third_party/llvm-project/mlir/lib/Pass/Pass.cpp:524:20
#56 0x000076aef485b939 void llvm::function_ref<void ()>::callback_fn<mlir::detail::OpToOpPassAdaptor::run(mlir::Pass*, mlir::Operation*, mlir::AnalysisManager, bool, unsigned int)::$_1>(long) /home/prashant/iree/third_party/llvm-project/llvm/include/llvm/ADT/STLFunctionalExtras.h:45:12
#57 0x000076aef485b939 llvm::function_ref<void ()>::operator()() const /home/prashant/iree/third_party/llvm-project/llvm/include/llvm/ADT/STLFunctionalExtras.h:68:12
#58 0x000076aef485b939 void mlir::MLIRContext::executeAction<mlir::PassExecutionAction, mlir::Pass&>(llvm::function_ref<void ()>, llvm::ArrayRef<mlir::IRUnit>, mlir::Pass&) /home/prashant/iree/third_party/llvm-project/mlir/include/mlir/IR/MLIRContext.h:280:7
#59 0x000076aef485b939 mlir::detail::OpToOpPassAdaptor::run(mlir::Pass*, mlir::Operation*, mlir::AnalysisManager, bool, unsigned int) /home/prashant/iree/third_party/llvm-project/mlir/lib/Pass/Pass.cpp:520:21
#60 0x000076aef485c057 llvm::LogicalResult::failed() const /home/prashant/iree/third_party/llvm-project/llvm/include/llvm/Support/LogicalResult.h:43:43
#61 0x000076aef485c057 llvm::failed(llvm::LogicalResult) /home/prashant/iree/third_party/llvm-project/llvm/include/llvm/Support/LogicalResult.h:71:58
#62 0x000076aef485c057 mlir::detail::OpToOpPassAdaptor::runPipeline(mlir::OpPassManager&, mlir::Operation*, mlir::AnalysisManager, bool, unsigned int, mlir::PassInstrumentor*, mlir::PassInstrumentation::PipelineParentInfo const*) /home/prashant/iree/third_party/llvm-project/mlir/lib/Pass/Pass.cpp:592:9
#63 0x000076aef48602f9 llvm::LogicalResult llvm::function_ref<llvm::LogicalResult (mlir::OpPassManager&, mlir::Operation*)>::callback_fn<mlir::detail::OpToOpPassAdaptor::run(mlir::Pass*, mlir::Operation*, mlir::AnalysisManager, bool, unsigned int)::$_0>(long, mlir::OpPassManager&, mlir::Operation*) /home/prashant/iree/third_party/llvm-project/llvm/include/llvm/ADT/STLFunctionalExtras.h:45:5
#64 0x000076aef5b11f73 llvm::LogicalResult::failed() const /home/prashant/iree/third_party/llvm-project/llvm/include/llvm/Support/LogicalResult.h:43:43
#65 0x000076aef5b11f73 llvm::failed(llvm::LogicalResult) /home/prashant/iree/third_party/llvm-project/llvm/include/llvm/Support/LogicalResult.h:71:58
#66 0x000076aef5b11f73 mlir::iree_compiler::InputConversion::(anonymous namespace)::AutoInputConversionPipelinePass::runOnOperation() /home/prashant/iree/compiler/src/iree/compiler/InputConversion/Common/AutoInputConversionPipeline.cpp:72:7
#67 0x000076aef485b79f mlir::detail::OpToOpPassAdaptor::run(mlir::Pass*, mlir::Operation*, mlir::AnalysisManager, bool, unsigned int)::$_1::operator()() const /home/prashant/iree/third_party/llvm-project/mlir/lib/Pass/Pass.cpp:0:17
#68 0x000076aef485b79f void llvm::function_ref<void ()>::callback_fn<mlir::detail::OpToOpPassAdaptor::run(mlir::Pass*, mlir::Operation*, mlir::AnalysisManager, bool, unsigned int)::$_1>(long) /home/prashant/iree/third_party/llvm-project/llvm/include/llvm/ADT/STLFunctionalExtras.h:45:12
#69 0x000076aef485b79f llvm::function_ref<void ()>::operator()() const /home/prashant/iree/third_party/llvm-project/llvm/include/llvm/ADT/STLFunctionalExtras.h:68:12
#70 0x000076aef485b79f void mlir::MLIRContext::executeAction<mlir::PassExecutionAction, mlir::Pass&>(llvm::function_ref<void ()>, llvm::ArrayRef<mlir::IRUnit>, mlir::Pass&) /home/prashant/iree/third_party/llvm-project/mlir/include/mlir/IR/MLIRContext.h:280:7
#71 0x000076aef485b79f mlir::detail::OpToOpPassAdaptor::run(mlir::Pass*, mlir::Operation*, mlir::AnalysisManager, bool, unsigned int) /home/prashant/iree/third_party/llvm-project/mlir/lib/Pass/Pass.cpp:520:21
#72 0x000076aef485c057 llvm::LogicalResult::failed() const /home/prashant/iree/third_party/llvm-project/llvm/include/llvm/Support/LogicalResult.h:43:43
#73 0x000076aef485c057 llvm::failed(llvm::LogicalResult) /home/prashant/iree/third_party/llvm-project/llvm/include/llvm/Support/LogicalResult.h:71:58
#74 0x000076aef485c057 mlir::detail::OpToOpPassAdaptor::runPipeline(mlir::OpPassManager&, mlir::Operation*, mlir::AnalysisManager, bool, unsigned int, mlir::PassInstrumentor*, mlir::PassInstrumentation::PipelineParentInfo const*) /home/prashant/iree/third_party/llvm-project/mlir/lib/Pass/Pass.cpp:592:9
#75 0x000076aef485e4e4 mlir::PassManager::run(mlir::Operation*) /home/prashant/iree/third_party/llvm-project/mlir/lib/Pass/Pass.cpp:885:0
#76 0x000076aef45c6487 llvm::LogicalResult::failed() const /home/prashant/iree/third_party/llvm-project/llvm/include/llvm/Support/LogicalResult.h:43:43
#77 0x000076aef45c6487 llvm::failed(llvm::LogicalResult) /home/prashant/iree/third_party/llvm-project/llvm/include/llvm/Support/LogicalResult.h:71:58
#78 0x000076aef45c6487 mlir::iree_compiler::embed::(anonymous namespace)::Invocation::runPipeline(iree_compiler_pipeline_t) /home/prashant/iree/compiler/src/iree/compiler/API/Internal/CompilerDriver.cpp:1008:7
#79 0x000076aef45c6487 ireeCompilerInvocationPipeline /home/prashant/iree/compiler/src/iree/compiler/API/Internal/CompilerDriver.cpp:1447:23
#80 0x000076aef47e995c mlir::iree_compiler::runIreecMain(int, char**)::$_2::operator()(iree_compiler_source_t*) const /home/prashant/iree/compiler/src/iree/compiler/Tools/iree_compile_lib.cc:254:11
#81 0x000076aef47e91aa mlir::iree_compiler::runIreecMain(int, char**) /home/prashant/iree/compiler/src/iree/compiler/Tools/iree_compile_lib.cc:0:10
#82 0x000076aeee829d90 __libc_start_call_main ./csu/../sysdeps/nptl/libc_start_call_main.h:58:16
#83 0x000076aeee829e40 call_init ./csu/../csu/libc-start.c:128:20
#84 0x000076aeee829e40 __libc_start_main ./csu/../csu/libc-start.c:379:5
#85 0x00005a4650edb6b5 _start (/home/prashant/iree-build/tools/iree-compile+0x16b5)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment