Prathamesh Tagore a6e47d124f
[MLIR][Affine] Fix affine loop permute validity check for iter_args loops (#155077)
We cannot guarantee the validity of the interchange if the loops have
iter_args, since the dependence analysis does not take them into
account. Conservatively return false in such cases.

Add an option to check permutation validity in test-loop-permutation
pass to test this change.

Signed-off-by: Prathamesh Tagore <prathamesh+1@polymagelabs.com>
2025-08-25 12:53:30 +05:30
..