Skip to content

error in convertions of linalg MLIR to LLVM MLIR #20470

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

Open
piyushhingu opened this issue Apr 4, 2025 · 0 comments
Open

error in convertions of linalg MLIR to LLVM MLIR #20470

piyushhingu opened this issue Apr 4, 2025 · 0 comments
Labels
bug 🐞 Something isn't working

Comments

@piyushhingu
Copy link

What happened?

  1.  Program arguments: /workspace/docker/mlir_venv/lib/python3.10/site-packages/iree/compiler/tools/../_mlir_libs/iree-opt -pass-pipeline=builtin.module(func.func(iree-preprocessing-generalize-linalg-matmul-experimental,iree-gpu-lower-ops,iree-llvmcpu-check-ir-before-llvm-conversion,iree-codegen-llvmcpu-bufferization-pipeline),iree-codegen-iree-bufferize-constants,iree-convert-to-nvvm) mlirs2/model-linalg.mlir
    

#0 0x00007a3b839c2448 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/workspace/docker/mlir_venv/lib/python3.10/site-packages/iree/compiler/_mlir_libs/libIREECompiler.so+0x57c2448)
#1 0x00007a3b839c01ee llvm::sys::RunSignalHandlers() (/workspace/docker/mlir_venv/lib/python3.10/site-packages/iree/compiler/_mlir_libs/libIREECompiler.so+0x57c01ee)
#2 0x00007a3b839c2af6 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007a3b7e019520 (/usr/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007a3b83bae9f8 mlir::iree_compiler::IREE::GPU::TargetAttr::getCUDAComputeCapability() const IREEGPUAttrs.cpp:0:0
#5 0x00007a3b8565a424 mlir::iree_compiler::(anonymous namespace)::ConvertToNVVMPass::runOnOperation() ConvertToNVVM.cpp:0:0
#6 0x00007a3b83c0dfdb mlir::detail::OpToOpPassAdaptor::run(mlir::Pass*, mlir::Operation*, mlir::AnalysisManager, bool, unsigned int) (/workspace/docker/mlir_venv/lib/python3.10/site-packages/iree/compiler/_mlir_libs/libIREECompiler.so+0x5a0dfdb)
#7 0x00007a3b83c11eeb mlir::PassManager::run(mlir::Operation*) (/workspace/docker/mlir_venv/lib/python3.10/site-packages/iree/compiler/_mlir_libs/libIREECompiler.so+0x5a11eeb)
#8 0x00007a3b83c0591e performActions(llvm::raw_ostream&, std::shared_ptrllvm::SourceMgr const&, mlir::MLIRContext*, mlir::MlirOptMainConfig const&) MlirOptMain.cpp:0:0
#9 0x00007a3b83c0559c llvm::LogicalResult llvm::function_ref<llvm::LogicalResult (std::unique_ptr<llvm::MemoryBuffer, std::default_deletellvm::MemoryBuffer>, llvm::raw_ostream&)>::callback_fn<mlir::MlirOptMain(llvm::raw_ostream&, std::unique_ptr<llvm::MemoryBuffer, std::default_deletellvm::MemoryBuffer>, mlir::DialectRegistry&, mlir::MlirOptMainConfig const&)::$_0>(long, std::unique_ptr<llvm::MemoryBuffer, std::default_deletellvm::MemoryBuffer>, llvm::raw_ostream&) MlirOptMain.cpp:0:0
#10 0x00007a3b83c074f2 mlir::splitAndProcessBuffer(std::unique_ptr<llvm::MemoryBuffer, std::default_deletellvm::MemoryBuffer>, llvm::function_ref<llvm::LogicalResult (std::unique_ptr<llvm::MemoryBuffer, std::default_deletellvm::MemoryBuffer>, llvm::raw_ostream&)>, llvm::raw_ostream&, llvm::StringRef, llvm::StringRef) (/workspace/docker/mlir_venv/lib/python3.10/site-packages/iree/compiler/_mlir_libs/libIREECompiler.so+0x5a074f2)
#11 0x00007a3b83c004b2 mlir::MlirOptMain(llvm::raw_ostream&, std::unique_ptr<llvm::MemoryBuffer, std::default_deletellvm::MemoryBuffer>, mlir::DialectRegistry&, mlir::MlirOptMainConfig const&) (/workspace/docker/mlir_venv/lib/python3.10/site-packages/iree/compiler/_mlir_libs/libIREECompiler.so+0x5a004b2)
#12 0x00007a3b8392376d ireeOptRunMain (/workspace/docker/mlir_venv/lib/python3.10/site-packages/iree/compiler/_mlir_libs/libIREECompiler.so+0x572376d)
#13 0x00007a3b7e000d90 __libc_start_call_main ./csu/../sysdeps/nptl/libc_start_call_main.h:58:16
#14 0x00007a3b7e000e40 call_init ./csu/../csu/libc-start.c:128:20
#15 0x00007a3b7e000e40 __libc_start_main ./csu/../csu/libc-start.c:379:5
#16 0x000000000020169e _start (/workspace/docker/mlir_venv/lib/python3.10/site-packages/iree/compiler/tools/../_mlir_libs/iree-opt+0x20169e)

Steps to reproduce your issue

No response

What component(s) does this issue relate to?

MLIR

Version information

No response

Additional context

No response

@piyushhingu piyushhingu added the bug 🐞 Something isn't working label Apr 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐞 Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant