[all-commits] [llvm/llvm-project] 49af38: Add a method to build affine maps with zero or mor...

Ulysse Beaugnon via All-commits all-commits at lists.llvm.org
Wed Apr 1 01:47:24 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 49af3809423bfe03a21cad22dda0a776c04cc5af
      https://github.com/llvm/llvm-project/commit/49af3809423bfe03a21cad22dda0a776c04cc5af
  Author: Ulysse Beaugnon <ulysse at google.com>
  Date:   2020-04-01 (Wed, 01 Apr 2020)

  Changed paths:
    M mlir/include/mlir/IR/AffineMap.h
    M mlir/lib/IR/MLIRContext.cpp

  Log Message:
  -----------
  Add a method to build affine maps with zero or more results.

Summary:
The commit provides a single method to build affine maps with zero or more
results. Users of mlir::AffineMap previously had to dispatch between two methods
depending on the number of results.

At the same time, this commit fixes the method for building affine map with zero
results that was previously ignoring its `symbolCount` argument.

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




More information about the All-commits mailing list