pranavalavandi

Results comments of pranavalavandi

I don't think this is a missed optimization. The LICM hoisting operates at the top op level as per [here](https://github.com/llvm/llvm-project/blob/5c0b781b08ac55ceb4432631add3f8965146ae86/mlir/lib/Transforms/Utils/LoopInvariantCodeMotionUtils.cpp#L74). And so it does not recursively check the `test.affine_scope` for...

@prometheusfma-llvm have you had a chance to look at this? As far as I could tell [here](https://github.com/llvm/llvm-project/blob/3638e00f5a7e6b57ff62ced62388a60011d1a8db/mlir/lib/Transforms/Utils/CSE.cpp#L262-L274), the code that causes this missed optimization is the: ``` existing->getBlock() == op->getBlock()...