[all-commits] [llvm/llvm-project] 9c8979: [mlir][scf] Specialize loops with constant affine....

陈子昂 via All-commits all-commits at lists.llvm.org
Sun Oct 4 16:27:49 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9c8979d1bb551949cf7985bf36c53e55aaf57ee2
      https://github.com/llvm/llvm-project/commit/9c8979d1bb551949cf7985bf36c53e55aaf57ee2
  Author: 陈子昂 <2802328816 at qq.com>
  Date:   2026-10-04 (Sun, 04 Oct 2026)

  Changed paths:
    M mlir/lib/Dialect/SCF/Transforms/LoopSpecialization.cpp
    M mlir/test/Dialect/SCF/for-loop-specialization.mlir

  Log Message:
  -----------
  [mlir][scf] Specialize loops with constant affine.min operands (#228909)

`scf-for-loop-specialization` only inspected affine map results, so it
missed constants supplied through map operands. Canonicalize the map and
operands before finding constant results.

Fixes #228470



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