[MLIR][Presburger] Carry IdKind information in LinearTransform::applyTo
authorGroverkss <groverkss@gmail.com>
Thu, 31 Mar 2022 15:09:39 +0000 (20:39 +0530)
committerGroverkss <groverkss@gmail.com>
Thu, 31 Mar 2022 15:12:50 +0000 (20:42 +0530)
commit152e501d871f653b2513d1958d431a2e5b05d5b0
tree2f5eef041c17e262ef62f22386258ea99d8bd7c0
parentd2f7547f14f8d0259b16359010362441ed12e4bc
[MLIR][Presburger] Carry IdKind information in LinearTransform::applyTo

This patch fixes a bug in LinearTransform::applyTo where it did not carry the
IdKind information, and instead treated every id as IdKind::Domain.

Reviewed By: arjunp

Differential Revision: https://reviews.llvm.org/D122823
mlir/lib/Analysis/Presburger/LinearTransform.cpp