MacDue wrote: Also, could the test name just be `drop-unit-dims-with-shape-cast.mlir`? Matching the populate function (and allowing for more drop unit dims patterns in future). https://github.com/llvm/llvm-project/pull/102584