[flang] [llvm] [mlir] [MLIR][OpenMP] Lowering nontemporal clause to LLVM IR for SIMD directive (PR #118751)
Tom Eccles via llvm-commits
llvm-commits at lists.llvm.org
Tue Apr 22 03:23:52 PDT 2025
================
@@ -3569,8 +3569,13 @@ struct StoreOpConversion : public fir::FIROpConversion<fir::StoreOp> {
} else {
mlir::LLVM::StoreOp storeOp =
rewriter.create<mlir::LLVM::StoreOp>(loc, llvmValue, llvmMemref);
+
if (isVolatile)
storeOp.setVolatile_(true);
+
+ if (store.getNontemporal())
+ storeOp.setNontemporal(true);
----------------
tblah wrote:
Please add a lit test for this
https://github.com/llvm/llvm-project/pull/118751
More information about the llvm-commits
mailing list