[all-commits] [llvm/llvm-project] c3c1c5: [mlir][scf] Fix bug in pipelining prologue emission

Thomas via All-commits all-commits at lists.llvm.org
Thu Feb 3 13:13:40 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c3c1c5c6953fcf9320a0cae5121ce55839169790
      https://github.com/llvm/llvm-project/commit/c3c1c5c6953fcf9320a0cae5121ce55839169790
  Author: Thomas Raoux <thomasraoux at google.com>
  Date:   2022-02-03 (Thu, 03 Feb 2022)

  Changed paths:
    M mlir/lib/Dialect/SCF/Transforms/LoopPipelining.cpp
    M mlir/test/Dialect/SCF/loop-pipelining.mlir

  Log Message:
  -----------
  [mlir][scf] Fix bug in pipelining prologue emission

Induction variable calculation was ignoring scf.for step value. Fix it to get
the correct induction variable value in the prologue.

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




More information about the All-commits mailing list