[all-commits] [llvm/llvm-project] f108e7: [MLIR] Turns swapId into a FlatAffineConstraints m...

Ruizhe Zhao via All-commits all-commits at lists.llvm.org
Thu Sep 17 03:27:15 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: f108e71437c47cc5172af4a7f704bb3f69d392f2
      https://github.com/llvm/llvm-project/commit/f108e71437c47cc5172af4a7f704bb3f69d392f2
  Author: Vincent Zhao <vincentzhaorz at gmail.com>
  Date:   2020-09-17 (Thu, 17 Sep 2020)

  Changed paths:
    M mlir/include/mlir/Analysis/AffineStructures.h
    M mlir/lib/Analysis/AffineStructures.cpp

  Log Message:
  -----------
  [MLIR] Turns swapId into a FlatAffineConstraints member func

`swapId` used to be a static function in `AffineStructures.cpp`. This diff makes it accessible from the external world by turning it into a member function of `FlatAffineConstraints`. This will be very helpful for other projects that need to manipulate the content of `FlatAffineConstraints`.

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




More information about the All-commits mailing list