[Mlir-commits] [mlir] [mlir][spirv] Retain nontemporal attribute when converting memref load/store (PR #82119)

Lei Zhang llvmlistbot at llvm.org
Sat Feb 17 21:47:59 PST 2024


================
@@ -623,7 +631,8 @@ LoadOpPattern::matchAndRewrite(memref::LoadOp loadOp, OpAdaptor adaptor,
   if (!loadPtr)
     return failure();
 
-  AlignmentRequirements requiredAlignment = calculateRequiredAlignment(loadPtr);
+  AlignmentRequirements requiredAlignment =
----------------
antiagainst wrote:

This function is calculating the alignement; non termporal is not about the alignment. So I'm not sure we should put it here? 

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


More information about the Mlir-commits mailing list