[all-commits] [llvm/llvm-project] 1948aa: [flang] Do not use dialect conversion in `AffineDi...

Matthias Springer via All-commits all-commits at lists.llvm.org
Sat Aug 30 10:51:00 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1948aa12f536cec56eed8559126af77a191a0aaf
      https://github.com/llvm/llvm-project/commit/1948aa12f536cec56eed8559126af77a191a0aaf
  Author: Matthias Springer <me at m-sp.org>
  Date:   2025-08-30 (Sat, 30 Aug 2025)

  Changed paths:
    M flang/lib/Optimizer/Transforms/AffinePromotion.cpp

  Log Message:
  -----------
  [flang] Do not use dialect conversion in `AffineDialectPromotion` (#156171)

This pass uses the rewriter API incorrectly: it calls
`replaceAllUsesWith`. This will start failing with #155244.

Instead of a dialect conversion, use the walk-patterns driver, which is
also more efficient.



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