[all-commits] [llvm/llvm-project] 652a79: [mlir] fix off-by-one error in collapseParallelLoops

Tobias Gysi via All-commits all-commits at lists.llvm.org
Fri Jun 26 06:40:05 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 652a79659a89b3634f34c6cf94a0b18b25ea4419
      https://github.com/llvm/llvm-project/commit/652a79659a89b3634f34c6cf94a0b18b25ea4419
  Author: Tobias Gysi <tobias.gysi at inf.ethz.ch>
  Date:   2020-06-26 (Fri, 26 Jun 2020)

  Changed paths:
    M mlir/lib/Transforms/Utils/LoopUtils.cpp
    M mlir/test/Transforms/parallel-loop-collapsing.mlir
    M mlir/test/Transforms/single-parallel-loop-collapsing.mlir

  Log Message:
  -----------
  [mlir] fix off-by-one error in collapseParallelLoops

Summary: The patch fixes an off by one error in the method collapseParallelLoops. It ensures the same normalized bound is used for the computation of the division and the remainder.

Reviewers: herhut

Reviewed By: herhut

Subscribers: mehdi_amini, rriddle, jpienaar, shauheen, antiagainst, nicolasvasilache, arpith-jacob, mgester, lucyrfox, aartbik, liufengdb, stephenneuendorffer, Joonsoo, grosul1, Kayjukh, jurahul, msifontes

Tags: #mlir

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




More information about the All-commits mailing list