[PATCH] D69897: Add #pragma clang loop aligned
Happy via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Nov 6 08:26:58 PST 2019
m-happy created this revision.
m-happy added reviewers: hfinkel, DTharun, rscottmanley, Meinersbur.
m-happy added a project: clang.
Herald added subscribers: cfe-commits, zzheng.
This patch adds functionality '#pragma clang loop aligned'. The load/store access in for loop following the '#pragma clang loop aligned' uses 32 bit for align access.
#pragma clang loop aligned(enable)
for(){
....
}
Repository:
rG LLVM Github Monorepo
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.228065.patch
Type: text/x-patch
Size: 22183 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20191106/347f2bb4/attachment-0001.bin>
More information about the cfe-commits
mailing list