[all-commits] [llvm/llvm-project] 6a47aa: [mlir][scf] Remove identical `scf.for` iter args

Jeff Niu via All-commits all-commits at lists.llvm.org
Thu Feb 13 15:29:21 PST 2025


  Branch: refs/heads/users/mogball/scf
  Home:   https://github.com/llvm/llvm-project
  Commit: 6a47aaa028d9779db16d20affeb8eda14596ea8d
      https://github.com/llvm/llvm-project/commit/6a47aaa028d9779db16d20affeb8eda14596ea8d
  Author: Mogball <jeffniu22 at gmail.com>
  Date:   2025-02-13 (Thu, 13 Feb 2025)

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

  Log Message:
  -----------
  [mlir][scf] Remove identical `scf.for` iter args

This augments the iter arg canonicalizer to remove iter args that always
have the same value, i.e. their correpsonding init and yielded values
are the same.



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