[all-commits] [llvm/llvm-project] 9f0f6d: [mlir] Add `arith-int-range-narrowing` pass (#112404)
Ivan Butygin via All-commits
all-commits at lists.llvm.org
Tue Nov 5 03:30:44 PST 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 9f0f6df03b1f6bc4feac8ca5670638b005d20d96
https://github.com/llvm/llvm-project/commit/9f0f6df03b1f6bc4feac8ca5670638b005d20d96
Author: Ivan Butygin <ivan.butygin at gmail.com>
Date: 2024-11-05 (Tue, 05 Nov 2024)
Changed paths:
M mlir/include/mlir/Dialect/Arith/Transforms/Passes.h
M mlir/include/mlir/Dialect/Arith/Transforms/Passes.td
M mlir/lib/Dialect/Arith/Transforms/CMakeLists.txt
R mlir/lib/Dialect/Arith/Transforms/IntNarrowing.cpp
M mlir/lib/Dialect/Arith/Transforms/IntRangeOptimizations.cpp
R mlir/test/Dialect/Arith/int-narrowing-invalid-options.mlir
R mlir/test/Dialect/Arith/int-narrowing.mlir
A mlir/test/Dialect/Arith/int-range-narrowing.mlir
R mlir/test/Dialect/Linalg/int-narrowing.mlir
Log Message:
-----------
[mlir] Add `arith-int-range-narrowing` pass (#112404)
This pass intended to narrow integer calculations to the specific
bitwidth, using `IntegerRangeAnalysis`.
We already have the `arith-int-narrowing` pass, but it mostly only doing
local analysis, while `IntegerRangeAnalysis` analyses entire program.
They ideally should be unified, but it's a task for the future.
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