[all-commits] [llvm/llvm-project] 1ae244: [mlir] Add forall canonicalization to replace cons...

Max191 via All-commits all-commits at lists.llvm.org
Fri Oct 18 12:21:22 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1ae24460d21577858d034fd4f77f2a986ac062a9
      https://github.com/llvm/llvm-project/commit/1ae24460d21577858d034fd4f77f2a986ac062a9
  Author: Max191 <44243577+Max191 at users.noreply.github.com>
  Date:   2024-10-18 (Fri, 18 Oct 2024)

  Changed paths:
    M mlir/lib/Dialect/SCF/IR/SCF.cpp
    M mlir/test/Dialect/SCF/canonicalize.mlir

  Log Message:
  -----------
  [mlir] Add forall canonicalization to replace constant induction vars (#112764)

Adds a canonicalization pattern for scf.forall that replaces constant
induction variables with a constant index. There is a similar
canonicalization that completely removes constant induction variables
from the loop, but that pattern does not apply on foralls with mappings,
so this one is necessary for those cases.

---------

Signed-off-by: Max Dawkins <max.dawkins at gmail.com>



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list