[all-commits] [llvm/llvm-project] b5c3f1: [MLIR] Add support for empty IVs to affine.parallel

Frank Laub via All-commits all-commits at lists.llvm.org
Wed May 26 16:45:27 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b5c3f17e70e70692e805c00d906a3a3d6678f093
      https://github.com/llvm/llvm-project/commit/b5c3f17e70e70692e805c00d906a3a3d6678f093
  Author: Frank Laub <frank.laub at intel.com>
  Date:   2021-05-26 (Wed, 26 May 2021)

  Changed paths:
    M mlir/include/mlir/Dialect/Affine/IR/AffineOps.td
    M mlir/lib/Dialect/Affine/IR/AffineOps.cpp
    M mlir/test/Dialect/Affine/ops.mlir

  Log Message:
  -----------
  [MLIR] Add support for empty IVs to affine.parallel

Allow support for specifying empty IVs in an `affine.parallel`.

For example:

```
affine.parallel () = () to () {
  affine.yield
}
```

Reviewed By: bondhugula, jbruestle

Differential Revision: https://reviews.llvm.org/D102895




More information about the All-commits mailing list