[PATCH] D78930: [MLIR] Give AffineStoreOp and AffineLoadOp Memory SideEffects.

Theodore Popp via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 27 08:01:47 PDT 2020


tpopp created this revision.
Herald added subscribers: llvm-commits, Kayjukh, frgossen, grosul1, Joonsoo, liufengdb, aartbik, lucyrfox, mgester, arpith-jacob, nicolasvasilache, antiagainst, shauheen, jpienaar, rriddle, mehdi_amini.
Herald added a reviewer: nicolasvasilache.
Herald added a project: LLVM.

This change results in tests also being changed to prevent dead
affine.load operations from being folded away during rewrites.

Also move AffineStoreOp and AffineLoadOp to an ODS file.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D78930

Files:
  mlir/include/mlir/Dialect/Affine/IR/AffineOps.h
  mlir/include/mlir/Dialect/Affine/IR/AffineOps.td
  mlir/lib/Dialect/Affine/IR/AffineOps.cpp
  mlir/test/Dialect/Affine/canonicalize.mlir
  mlir/test/Dialect/Affine/loop-unswitch.mlir
  mlir/test/Transforms/canonicalize.mlir
  mlir/test/Transforms/loop-fusion-transformation.mlir
  mlir/test/Transforms/memref-normalize.mlir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D78930.260324.patch
Type: text/x-patch
Size: 35861 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200427/f629c9e7/attachment.bin>


More information about the llvm-commits mailing list