[PATCH] D79457: [MLIR] Add static offset support for ViewOp's source memref.

Tim Shen via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 5 16:45:17 PDT 2020


timshen created this revision.
timshen added a reviewer: nicolasvasilache.
Herald added subscribers: llvm-commits, Kayjukh, frgossen, grosul1, Joonsoo, stephenneuendorffer, liufengdb, aartbik, lucyrfox, mgester, arpith-jacob, antiagainst, shauheen, jpienaar, rriddle, mehdi_amini, sanjoy.google, bixia.
Herald added a reviewer: ftynse.
Herald added a project: LLVM.
timshen edited the summary of this revision.
timshen edited projects, added MLIR; removed LLVM.
Herald added a project: LLVM.

Discussion is here: https://llvm.discourse.group/t/viewop-isnt-expressive-enough/991/9.

The fix is not the same as discussed in the thread. It instead partially support non-identity affine maps for the source memref. Currently, only static offset support is added.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D79457

Files:
  mlir/lib/Conversion/StandardToLLVM/StandardToLLVM.cpp
  mlir/lib/Dialect/StandardOps/IR/Ops.cpp
  mlir/test/Conversion/StandardToLLVM/convert-to-llvmir.mlir
  mlir/test/IR/core-ops.mlir
  mlir/test/IR/invalid-ops.mlir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D79457.262261.patch
Type: text/x-patch
Size: 7674 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200505/83b4aea1/attachment.bin>


More information about the llvm-commits mailing list