[all-commits] [llvm/llvm-project] 41a8b4: [MLIR] Fix AffineExpr getLargestKnownDivisor for c...
Uday Bondhugula via All-commits
all-commits at lists.llvm.org
Tue Oct 26 03:52:04 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 41a8b4600731b0ce702adb6087c73133089c78d5
https://github.com/llvm/llvm-project/commit/41a8b4600731b0ce702adb6087c73133089c78d5
Author: Uday Bondhugula <uday at polymagelabs.com>
Date: 2021-10-26 (Tue, 26 Oct 2021)
Changed paths:
M mlir/lib/IR/AffineExpr.cpp
M mlir/test/Dialect/Affine/unroll.mlir
Log Message:
-----------
[MLIR] Fix AffineExpr getLargestKnownDivisor for ceildiv and floordiv
Fix AffineExpr `getLargestKnownDivisor` for ceil/floor div cases.
In these cases, nothing can be inferred on the divisor of the
result.
Add test case for `mod` as well.
Differential Revision: https://reviews.llvm.org/D112523
More information about the All-commits
mailing list