Reverts llvm/llvm-project#157330
The original revision introduces a bug in `isGuaranteedCollapsible`. The
`memref<3x3x1x96xf32, strided<[288, 96, 96, 1], offset: 864>>` is no
longer collapsable with the change. The revision reverts the change to
bring back correct behavior. `stride` should be computed as `96` like
the old behavior in the failed iteration.
92a1eb3712/mlir/lib/Dialect/MemRef/IR/MemRefOps.cpp (L2597-L2605)