[PATCH] D47267: [UnrollAndJam] Add unroll_and_jam pragma handling
Dave Green via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed May 23 09:00:43 PDT 2018
dmgreen created this revision.
dmgreen added reviewers: SjoerdMeijer, hfinkel, tyler.nowicki, anemet, alexfh.
Herald added a subscriber: zzheng.
This adds support for the unroll_and_jam pragma, to go with https://reviews.llvm.org/D41953. The name of
the pragma is copied from the Intel compiler, and most of the code works the same as
for unroll.
I have some doubts whether this will ever be used sensibly in the real world, but can
be useful for testing and was not difficult to put together.
https://reviews.llvm.org/D47267
Files:
include/clang/Basic/Attr.td
include/clang/Basic/DiagnosticParseKinds.td
include/clang/Parse/Parser.h
lib/CodeGen/CGLoopInfo.cpp
lib/CodeGen/CGLoopInfo.h
lib/Parse/ParsePragma.cpp
lib/Sema/SemaStmtAttr.cpp
test/CodeGenCXX/pragma-unroll-and-jam.cpp
test/Parser/pragma-loop.cpp
test/Parser/pragma-unroll-and-jam.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D47267.148224.patch
Type: text/x-patch
Size: 32603 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180523/3e6c8aa8/attachment-0001.bin>
More information about the cfe-commits
mailing list