[MLIR] Fix affine analysis check for ops with no common block
authorUday Bondhugula <uday@polymagelabs.com>
Tue, 7 Mar 2023 02:41:58 +0000 (08:11 +0530)
committerUday Bondhugula <uday@polymagelabs.com>
Tue, 7 Mar 2023 17:47:16 +0000 (23:17 +0530)
commit622702d08948cb105cae2fc6fd0d4c3d988e65d4
tree334be1d55233789fa0b80d07766ecbb24bee4907
parent447aa48b4a02fa9e22fa45b2fb7a85c12df2e6c3
[MLIR] Fix affine analysis check for ops with no common block

Fix affine analysis check for ops with no common block in their affine
scope. Clean up some out of date comments and naming.

Fixes: https://github.com/llvm/llvm-project/issues/59444

Differential Revision: https://reviews.llvm.org/D145460
mlir/lib/Dialect/Affine/Analysis/AffineAnalysis.cpp
mlir/test/Dialect/Affine/scalrep.mlir