[PATCH] D61764: [LV] Suppress vectorization in some nontemporal cases

Simon Pilgrim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun May 26 07:12:49 PDT 2019


RKSimon added a comment.

Would it be possible to add tests where non-temporal load/stores successfully vectorize?



================
Comment at: lib/Target/X86/X86TargetTransformInfo.cpp:3080
+  if (DataType->isFloatTy() || DataType->isDoubleTy())
+    return ST->hasSSE4A();
+
----------------
SSE4A nt-stores can happen with any alignment, and AFAICT without any perf penalty.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D61764/new/

https://reviews.llvm.org/D61764





More information about the llvm-commits mailing list