[PATCH] D69897: Add #pragma clang loop vectorize_assume_alignment(n)

Happy via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Nov 13 14:33:03 PST 2019


m-happy updated this revision to Diff 229190.
m-happy added a comment.

Updated the syntax as suggested by Michael Kruse, and added functionality to specify the number used for alignment instead of just using 32bits.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D69897

Files:
  clang/docs/LanguageExtensions.rst
  clang/include/clang/Basic/Attr.td
  clang/include/clang/Basic/AttrDocs.td
  clang/include/clang/Basic/DiagnosticParseKinds.td
  clang/lib/CodeGen/CGLoopInfo.cpp
  clang/lib/CodeGen/CGLoopInfo.h
  clang/lib/Parse/ParsePragma.cpp
  clang/lib/Sema/SemaStmtAttr.cpp
  clang/test/AST/ast-print-pragmas.cpp
  clang/test/CodeGenCXX/pragma-loop-aligned.cpp
  clang/test/Parser/pragma-loop.cpp
  clang/test/Parser/pragma-unroll-and-jam.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D69897.229190.patch
Type: text/x-patch
Size: 27829 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20191113/baf318b7/attachment-0001.bin>


More information about the cfe-commits mailing list