[Mlir-commits] [mlir] [MLIR][LLVM] Propagate alignment attribute from memref to LLVM (PR #151380)

Andrzej WarzyƄski llvmlistbot at llvm.org
Mon Aug 4 02:08:30 PDT 2025


================
@@ -753,6 +753,18 @@ func.func @load_non_temporal(%arg0 : memref<32xf32, affine_map<(d0) -> (d0)>>) {
 
 // -----
 
+// CHECK-LABEL: func @load_with_alignment(
+// CHECK-INTERFACE-LABEL: func @load_with_alignment(
+func.func @load_with_alignment(%arg0 : memref<32xf32>) {
+  %1 = arith.constant 7 : index
----------------
banach-space wrote:

[nit] Reduce the number of Ops in the test by turning this into a function argument.

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


More information about the Mlir-commits mailing list