[MLIR] Introduce inter-procedural memref layout normalization
- Introduces a pass that normalizes the affine layout maps to the identity layout map both within and across functions by rewriting function arguments and call operands where necessary.
- Memref normalization is now implemented entirely in the module pass '-normalize-memrefs' and the limited intra-procedural version has been removed from '-simplify-affine-structures'.
- Run using -normalize-memrefs.
- Return ops are not handled and would be handled in the subsequent revisions.
Signed-off-by: Abhishek Varma <firstname.lastname@example.org>
Differential Revision: https://reviews.llvm.org/D84490