[all-commits] [llvm/llvm-project] 4ded63: [mlir][scf] Always remove for iter args that are l...

jeffniu-openai via All-commits all-commits at lists.llvm.org
Fri Jan 3 01:14:11 PST 2025


  Branch: refs/heads/users/mogball/for_args
  Home:   https://github.com/llvm/llvm-project
  Commit: 4ded6315aa5e9f1184c5af8cecf3ff05094c3f14
      https://github.com/llvm/llvm-project/commit/4ded6315aa5e9f1184c5af8cecf3ff05094c3f14
  Author: Jeff Niu <jeffniu at openai.com>
  Date:   2025-01-03 (Fri, 03 Jan 2025)

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

  Log Message:
  -----------
  [mlir][scf] Always remove for iter args that are loop invariant

This alters the condition in ForOpIterArgsFolder to always remove iter
args when their initial value equals the yielded value, not just when
the arg has no use.



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