[all-commits] [llvm/llvm-project] cb9481: [mlir][affine] Add folders for delinearize_index a...
Krzysztof Drewniak via All-commits
all-commits at lists.llvm.org
Wed Nov 13 11:05:58 PST 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: cb9481dbf902adc349757eca12a0a09396dc4a23
https://github.com/llvm/llvm-project/commit/cb9481dbf902adc349757eca12a0a09396dc4a23
Author: Krzysztof Drewniak <Krzysztof.Drewniak at amd.com>
Date: 2024-11-13 (Wed, 13 Nov 2024)
Changed paths:
M mlir/include/mlir/Dialect/Affine/IR/AffineOps.td
M mlir/lib/Dialect/Affine/IR/AffineOps.cpp
M mlir/test/Dialect/Affine/canonicalize.mlir
Log Message:
-----------
[mlir][affine] Add folders for delinearize_index and linearize_index (#115766)
This commit adds implementations of fold() for delinearize_index and
linearize_index to constant-fold them away when they have a fully
constant basis and constant argument(s).
This commit also adds a canonicalization pattern to linearize_index that
causes it to drop leading-zero inputs.
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