[Mlir-commits] [mlir] [mlir][vector] Convert vector.transfer_read to scalar load and broadcast (PR #159520)

Hsiangkai Wang llvmlistbot at llvm.org
Fri Sep 26 14:01:47 PDT 2025


Hsiangkai wrote:

> I'm pretty sure we removed this pattern earlier. This is not the right place to do it. If you want to do it, you should add a pattern from vector.load -> memref.load for scalars.
> 
> We should be lowering this to a vector.load on scalars + a vector.broadcast, if we aren't, that's a bug in itself.

Thanks for your review. I will abandon this patch and revisit the pipeline.

https://github.com/llvm/llvm-project/pull/159520


More information about the Mlir-commits mailing list