[PATCH] D72098: [mlir][Linalg] NFC - Reimplement getStridesAndOffset

Nicolas Vasilache via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 2 12:31:01 PST 2020


nicolasvasilache created this revision.
nicolasvasilache added a reviewer: ftynse.
Herald added subscribers: llvm-commits, arpith-jacob, antiagainst, shauheen, burmako, jpienaar, rriddle, mehdi_amini.
Herald added a project: LLVM.
nicolasvasilache added reviewers: maheshkhanwalkar, asaadaldien.

This diff reimplements getStridesAndOffset in a significantly simpler way by operating on the AffineExpr and calling into simplifyAffineExpr instead of rolling its own saturating arithmetic.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D72098

Files:
  mlir/lib/IR/StandardTypes.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D72098.235923.patch
Type: text/x-patch
Size: 8933 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200102/1fddcdca/attachment.bin>


More information about the llvm-commits mailing list