Crash backtrace in mltc-opt with AffineExpr operations. #120941
Labels
crash
Prefer [crash-on-valid] or [crash-on-invalid]
incomplete
Issue not complete (e.g. missing a reproducer, build arguments, etc.)
mlir:affine
when I use affineExpr's operator*:
#0 0x00007f9ebf90145f llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) /home/yongliangzha/mltc/modules/llvm-project/llvm/lib/Support/Unix/Signals.inc:723:22
#1 0x00007f9ebf901912 PrintStackTraceSignalHandler(void*) /home/yongliangzha/mltc/modules/llvm-project/llvm/lib/Support/Unix/Signals.inc:798:1
#2 0x00007f9ebf8fe833 llvm::sys::RunSignalHandlers() /home/yongliangzha/mltc/modules/llvm-project/llvm/lib/Support/Signals.cpp:105:20
#3 0x00007f9ebf900b2a SignalHandler(int) /home/yongliangzha/mltc/modules/llvm-project/llvm/lib/Support/Unix/Signals.inc:413:1
#4 0x00007f9ea384e090 (/lib/x86_64-linux-gnu/libc.so.6+0x43090)
#5 0x00007f9ebb59afa2 mlir::AffineExpr::getKind() const /home/yongliangzha/mltc/modules/llvm-project/mlir/lib/IR/AffineExpr.cpp:31:16
#6 0x00007f9ebb59bc05 mlir::AffineExpr::isSymbolicOrConstant() const /home/yongliangzha/mltc/modules/llvm-project/mlir/lib/IR/AffineExpr.cpp:170:3
#7 0x00007f9ebb59bc75 mlir::AffineExpr::isSymbolicOrConstant() const /home/yongliangzha/mltc/modules/llvm-project/mlir/lib/IR/AffineExpr.cpp:184:49
#8 0x00007f9ebb59e512 simplifyMul(mlir::AffineExpr, mlir::AffineExpr) /home/yongliangzha/mltc/modules/llvm-project/mlir/lib/IR/AffineExpr.cpp:771:7
#9 0x00007f9ebb59e7d4 mlir::AffineExpr::operator*(mlir::AffineExpr) const /home/yongliangzha/mltc/modules/llvm-project/mlir/lib/IR/AffineExpr.cpp:809:49
#10 0x00007f9eb411346b mltc::lnpu::CosAffineCompute::computeAffineInt(mlir::Operation*, mlir::OpBuilder)::'lambda1'(mlir::Operation*)::operator()(mlir::Operation*) const /home/yongliangzha/mltc/mltc/dialect/npu/transforms/utils.h:1035:35
#11 0x00007f9eb4114685 mltc::lnpu::CosAffineCompute::computeAffineInt(mlir::Operation*, mlir::OpBuilder) /home/yongliangzha/mltc/mltc/dialect/npu/transforms/utils.h:1231:1
#12 0x00007f9eb2ab6a41 mltc::lnpu::AffineCompute::visitArithOp(mlir::Operation*, mlir::OpBuilder) /home/yongliangzha/mltc/mltc/dialect/npu/transforms/utils.h:551:21
The text was updated successfully, but these errors were encountered: