diff options
| author | Han-Chung Wang <hanhan0912@gmail.com> | 2025-11-04 13:49:46 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-11-04 21:49:46 +0000 |
| commit | b21949eb34037aa1811cc55609ab46c577feab63 (patch) | |
| tree | 0caf7f29ecf8939bc05fe267593886fe985753e7 /llvm/lib/Target/WebAssembly/WebAssemblyFixFunctionBitcasts.cpp | |
| parent | 025e431e7450cada2724b19eb59354a6c020fa4f (diff) | |
| download | llvm-b21949eb34037aa1811cc55609ab46c577feab63.zip llvm-b21949eb34037aa1811cc55609ab46c577feab63.tar.gz llvm-b21949eb34037aa1811cc55609ab46c577feab63.tar.bz2 | |
Revert "[mlir][memref]: Collapse strided unit dim even if strides are dynamic" (#166448)
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.
https://github.com/llvm/llvm-project/blob/92a1eb37122fa24e3045fbabdea2bf87127cace5/mlir/lib/Dialect/MemRef/IR/MemRefOps.cpp#L2597-L2605
Diffstat (limited to 'llvm/lib/Target/WebAssembly/WebAssemblyFixFunctionBitcasts.cpp')
0 files changed, 0 insertions, 0 deletions
