Upstreaming from our MLIR python compiler project

Do you have tests for this so we can see roughly what the effects on the IR and the limitations are?

In Polygeist, we have something similar using LLVM’s LoopInfo. Do you have a rough idea how your approach compares to that?

This sounds useful, but likely needs a design discussion on how to implement it in MLIR-generic way.

This may let us lift decouple memref address computation from memref to llvm lowering. I am supportive of this in general, and would like to understand the tradeoffs. We have seen performance improvements attributable to the address computation code emitted by MLIR in the current form compared to Clang, I wouldn’t want to lose those.

cc @wsmoses