[all-commits] [llvm/llvm-project] e4e4da: [MLIR] Prevent creation of buggy affine map after ...
Arnab Dutta via All-commits
all-commits at lists.llvm.org
Fri Nov 26 11:03:26 PST 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: e4e4da86aff5606ef792d987a3ec85639219228c
https://github.com/llvm/llvm-project/commit/e4e4da86aff5606ef792d987a3ec85639219228c
Author: Arnab Dutta <arnab.dutta at cerebras.net>
Date: 2021-11-27 (Sat, 27 Nov 2021)
Changed paths:
M mlir/lib/Dialect/Linalg/Transforms/ElementwiseOpFusion.cpp
Log Message:
-----------
[MLIR] Prevent creation of buggy affine map after linearizing collapsed dimensions of source map
Initially we were passing wrong numSymbols argument while calling
AffineMap::get() for creaating affine map with linearized result
expressions. The main problems was the number of symbols of the newly
to be created map may be different from that of the source map, as
new symbolic identifiers may be introduced while creating strided layout
linearized expressions.
Reviewed By: nicolasvasilache, bondhugula
Differential Revision: https://reviews.llvm.org/D114240
More information about the All-commits
mailing list