[PATCH] D12214: [LoopVectorize] Propagate 'nontemporal' attribute into vectorized instructions.

Michael Zolotukhin via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 20 15:39:45 PDT 2015


mzolotukhin accepted this revision.
mzolotukhin added a reviewer: mzolotukhin.
mzolotukhin added a comment.
This revision is now accepted and ready to land.

Thanks, Nadav! Yes, they are very identical, so I'll follow this up with some refactoring. The main difference between `propagateMetadata` in SLP and in LV is that for SLP we pass a vector of MD-nodes (corresponding to scalar load/stores to be merged), and for LV we only pass one MD-node (because there we replicate a single load/store several times). I think we can reuse the SLP version in loop-vectorizer, as it covers more general case.


http://reviews.llvm.org/D12214





More information about the llvm-commits mailing list