[Mlir-commits] [mlir] [mlir][memref] Keep memref.load attributes when eliding reinterpret_cast (PR #221314)
Hung-Kuan Tseng
llvmlistbot at llvm.org
Fri Sep 11 07:33:39 PDT 2026
================
@@ -252,6 +252,21 @@ func.func private @collapse_3d_moved_unit_dims(%i : index, %j : index,
return
}
+// CHECK-LABEL: func.func private @expand_keeps_load_attrs(
+// CHECK-SAME: %[[SRC:.*]]: memref<1x8xf32>, %[[I:.*]]: index) {
+func.func private @expand_keeps_load_attrs(%src : memref<1x8xf32>, %i : index) {
----------------
Tim096 wrote:
Done, it is now a copy of `@expand_1D` with the three attributes added. I don't have commit access, so once the CI is green, could you land it for me? Thanks.
https://github.com/llvm/llvm-project/pull/221314
More information about the Mlir-commits
mailing list