[all-commits] [llvm/llvm-project] 7ab21c: [mlir] Fix `AffineMap.dropResults`.

Oleg Shyshkov via All-commits all-commits at lists.llvm.org
Thu Oct 27 04:35:40 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7ab21cdc208491c5f935b9fbc18c3436a6e14c1f
      https://github.com/llvm/llvm-project/commit/7ab21cdc208491c5f935b9fbc18c3436a6e14c1f
  Author: Oleg Shyshkov <shyshkov at google.com>
  Date:   2022-10-27 (Thu, 27 Oct 2022)

  Changed paths:
    M mlir/include/mlir/IR/AffineMap.h

  Log Message:
  -----------
  [mlir] Fix `AffineMap.dropResults`.

`AffineMap.dropResult` erases one result from the array and it changes indexing. Calling `dropResult` is a loop with increasing indexes does not produce a desired result.

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




More information about the All-commits mailing list