[all-commits] [llvm/llvm-project] b3115c: [mlir][affine] Add useExpensiveMath option to Affi...
lonely eagle via All-commits
all-commits at lists.llvm.org
Wed Jul 29 06:13:49 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: b3115cd807196e465ce3fc16f0cab58be24e47fc
https://github.com/llvm/llvm-project/commit/b3115cd807196e465ce3fc16f0cab58be24e47fc
Author: lonely eagle <2020382038 at qq.com>
Date: 2026-07-29 (Wed, 29 Jul 2026)
Changed paths:
M mlir/include/mlir/Dialect/Affine/Transforms/Passes.h
M mlir/include/mlir/Dialect/Affine/Transforms/Passes.td
M mlir/lib/Dialect/Affine/Transforms/AffineLoopNormalize.cpp
M mlir/test/Dialect/Affine/affine-loop-normalize.mlir
Log Message:
-----------
[mlir][affine] Add useExpensiveMath option to AffineLoopNormalize pass (#211989)
This PR integrates constant bound inference into the existing
`AffineLoopNormalize` pass under a new `useExpensiveMath` option. When
`useExpensiveMath` is enabled (disabled by default due to potential
compilation time overhead), the pass leverages
`ValueBoundsConstraintSet` (uss presburger) analysis to refine dynamic
`affine.for` loop bounds into compile-time constant bounds. RFC:
https://discourse.llvm.org/t/rfc-mlir-enable-dynamic-and-tighter-affine-unrolling-via-valueboundsconstraintset/91055/2
---------
Co-authored-by: Oleksandr "Alex" Zinenko <azinenko at amd.com>
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