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

Jeff Niu via All-commits all-commits at lists.llvm.org
Thu Feb 13 17:03:40 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a57e58dbfaae0e86eb5cafeddf8b598f14b96e36
      https://github.com/llvm/llvm-project/commit/a57e58dbfaae0e86eb5cafeddf8b598f14b96e36
  Author: Jeff Niu <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 (#127145)

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