[all-commits] [llvm/llvm-project] bc194a: [mlir][SCF] Do not peel loops inside partial itera...

Matthias Springer via All-commits all-commits at lists.llvm.org
Mon Aug 23 05:40:22 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: bc194a5bb5a4ebcf25bedebbfe8ef2ed7895d7a7
      https://github.com/llvm/llvm-project/commit/bc194a5bb5a4ebcf25bedebbfe8ef2ed7895d7a7
  Author: Matthias Springer <springerm at google.com>
  Date:   2021-08-23 (Mon, 23 Aug 2021)

  Changed paths:
    M mlir/include/mlir/Dialect/SCF/Passes.td
    M mlir/include/mlir/Dialect/SCF/Transforms.h
    M mlir/lib/Dialect/SCF/Transforms/LoopSpecialization.cpp
    M mlir/test/Dialect/SCF/for-loop-peeling.mlir

  Log Message:
  -----------
  [mlir][SCF] Do not peel loops inside partial iterations

Do not apply loop peeling to loops that are contained in the partial iteration of an already peeled loop. This is to avoid code explosion when dealing with large loop nests. Can be controlled with a new pass option `skip-partial`.

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




More information about the All-commits mailing list