commit | 755e279f87f54ec3c5f062bc3558aeb32a06faa0 | [log] [tgz] |
---|---|---|
author | Arnab Dutta <arnab.dutta@cerebras.net> | Sat Nov 20 12:00:49 2021 +0530 |
committer | Copybara-Service <copybara-worker@google.com> | Fri Nov 19 22:36:14 2021 -0800 |
tree | f8264ca5fb61f9d9c85c67bc3b3d8dbf424f0ccd | |
parent | 64e73e8356392f7d4c6c8a499432479bebd46df6 [diff] |
[MLIR] Avoid creation of buggy affine maps while replacing dimension and symbol Initially before appending the newly composed dimension and symbols to the dimension and symbol list whose size is to be passed in AffineMap::get(), the call to the AffineMap::get() was made, resulting in wrong dimCount and symbolCount being passed as argument. We move the call to the AffineMap::get() after the diimension and symbol list are updated. Differential Revision: https://reviews.llvm.org/D114237 GitOrigin-RevId: 1f9ca5adbac08dcca73b9e12aa2c5ed777cc460e
See https://mlir.llvm.org/ for more information.