[PATCH] D69897: Add #pragma clang loop aligned

Hal Finkel via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Nov 6 09:13:07 PST 2019


hfinkel added inline comments.


================
Comment at: clang/docs/LanguageExtensions.rst:3135
+
+This predicates all the array references inside the loop to be aligned. The aligned access to them can increase fetch time and increase the performance. 
+
----------------
lebedev.ri wrote:
> What does this actually mean, in the end?
> Will it assume that whatever alignment is required
> for whatever vectorization width chosen,
> is the actual alignment?
Also, just arrays, or also pointers?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D69897





More information about the cfe-commits mailing list