commit | d43cd2aff7bc43c91afe65ee04cfc95a754ab1a1 | [log] [tgz] |
---|---|---|
author | Arnab Dutta <arnab.dutta@cerebras.net> | Sat Nov 27 00:19:45 2021 +0530 |
committer | Copybara-Service <copybara-worker@google.com> | Fri Nov 26 11:05:59 2021 -0800 |
tree | 81a65e098805ba3c73eb4861b79d0f882b0910b6 | |
parent | 5ad8e5706b27d9f3539dcca8616d7bd885e84f43 [diff] |
[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 GitOrigin-RevId: e4e4da86aff5606ef792d987a3ec85639219228c
See https://mlir.llvm.org/ for more information.