Open tungld opened 4 years ago
Thanks, @ftynse! I removed enumerate
.
Landed as https://github.com/llvm/llvm-project/commit/e5957ac3d7135eca95b4019eaa394703ad6112a6.
Since MLIR moved to LLVM, please submit your following contributions through https://reviews.llvm.org. Thank you!
@joker-eph could you please close?
The computation of dynamic strides in lowering AllocOp was wrong.
Given a MemRefType with
sizes = [5, 10]
, it computedstrides = [5, 1]
, while the correct answer should bestrides = [10, 1]
.