Open MiraaChan opened 2 years ago
When I tried to debug, I found this: Normally, memrefCopy will end with "axis == 0" return true. But the crashed case is that the src_arg which passed to memrefCopy is illegal, so it can't normally end with "axis = 0" and when it comes with any action with src_arg, such as I tried to print the meta data of src_arg when entering the memrefCopy:
printMemRefMetaData(std::cout, DynamicMemRefType<char>(*src_arg));
it will crash after a few loops.
I guess, it was something wrong with the memref lowering.
@llvm/issue-subscribers-mlir
@fhahn hi, sorry to bother, do you have any ideas about what might be the cause of the problem?
Hi, I was running this mlir with
mlir-cpu-runner
.The command is
And it crashed with:
the commit id of my llvm is e0a3964affe82a63702e231c84be535d39413d1b, any help would be appreciated.