[PATCH] D74277: [MLIR][Affine] Add affine.parallel op

Frank Laub via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Feb 8 01:33:44 PST 2020


flaub created this revision.
flaub added reviewers: bondhugula, herhut, nicolasvasilache.
Herald added subscribers: llvm-commits, Joonsoo, liufengdb, aartbik, lucyrfox, mgester, arpith-jacob, antiagainst, shauheen, burmako, jpienaar, rriddle, mehdi_amini, mgorny.
Herald added a reviewer: rriddle.
Herald added a project: LLVM.

As discussed in https://llvm.discourse.group/t/rfc-add-affine-parallel/350, this
is the first in a series of patches to bring in support for the
`affine.parallel` operation.

This first patch adds the IR representation along with custom printer/parser
implementations.

The `AffineValueMap` is also moved into `Dialect/AffineOps` to prevent a cyclic
dependency between `Analysis` and `Dialect/AffineOps`.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D74277

Files:
  mlir/include/mlir/Analysis/AffineStructures.h
  mlir/include/mlir/Dialect/AffineOps/AffineOps.h
  mlir/include/mlir/Dialect/AffineOps/AffineOps.td
  mlir/include/mlir/Dialect/AffineOps/AffineValueMap.h
  mlir/include/mlir/IR/AffineMap.h
  mlir/lib/Analysis/AffineAnalysis.cpp
  mlir/lib/Analysis/AffineStructures.cpp
  mlir/lib/Analysis/LoopAnalysis.cpp
  mlir/lib/Analysis/Utils.cpp
  mlir/lib/Dialect/AffineOps/AffineOps.cpp
  mlir/lib/Dialect/AffineOps/AffineValueMap.cpp
  mlir/lib/Dialect/AffineOps/CMakeLists.txt
  mlir/lib/IR/AffineMap.cpp
  mlir/test/AffineOps/invalid.mlir
  mlir/test/AffineOps/ops.mlir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D74277.243352.patch
Type: text/x-patch
Size: 45115 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200208/b0ae388d/attachment.bin>


More information about the llvm-commits mailing list