[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
Thu Dec 5 03:33:35 PST 2024


================
@@ -5265,10 +5265,62 @@ OpenMPIRBuilder::getOpenMPDefaultSimdAlign(const Triple &TargetTriple,
   return 0;
 }
 
+static void appendNontemporalVars(BasicBlock *Block,
+                                  SmallVector<Value *> &NontemporalVars) {
----------------
tblah wrote:

nit
```suggestion
                                  SmallVectorImpl<Value *> &NontemporalVars) {
```

This allows small vectors with different default allocation sizes

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


More information about the llvm-commits mailing list