[all-commits] [llvm/llvm-project] 9d11ac: [mlir] move if-condition propagation to a standalo...

ftynse via All-commits all-commits at lists.llvm.org
Wed Jul 23 12:03:03 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9d11accf95db0ed08bd3181c25dd75fc793d089d
      https://github.com/llvm/llvm-project/commit/9d11accf95db0ed08bd3181c25dd75fc793d089d
  Author: Oleksandr "Alex" Zinenko <git at ozinenko.com>
  Date:   2025-07-23 (Wed, 23 Jul 2025)

  Changed paths:
    M mlir/include/mlir/Dialect/SCF/Transforms/Passes.td
    M mlir/lib/Dialect/SCF/IR/SCF.cpp
    M mlir/lib/Dialect/SCF/Transforms/CMakeLists.txt
    A mlir/lib/Dialect/SCF/Transforms/IfConditionPropagation.cpp
    M mlir/test/Dialect/SCF/canonicalize.mlir
    A mlir/test/Dialect/SCF/if-cond-prop.mlir

  Log Message:
  -----------
  [mlir] move if-condition propagation to a standalone pass (#150278)

This offers a significant speedup over running this as a
canonicalizaiton pattern, up to 10x improvement when running on large
(>100k operations) inputs coming from Polygeist.

It is also not clear whether this transformation is a reasonable
canonicalization as it performs non-local rewrites.



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