[PATCH] D14420: [Polly][WIP] Add polly profitable source annotation
Johannes Doerfert via llvm-commits
llvm-commits at lists.llvm.org
Thu Nov 5 21:50:43 PST 2015
jdoerfert created this revision.
jdoerfert added reviewers: grosser, Meinersbur.
jdoerfert added a subscriber: Polly.
Profitable annotations can be placend in the source via:
__builtin_assume(__polly_profitable == X)
where X has to be the constant 0 (=unprofitable) or 1 (=profitable) and
__polly_profitable a global variable.
If multiple annotations dominate a region, the number of
"profitable"/"unprofitable" annotations is used to decide what to do.
-- Missing unit tests
http://reviews.llvm.org/D14420
Files:
include/polly/ScopDetection.h
lib/Analysis/ScopDetection.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D14420.39476.patch
Type: text/x-patch
Size: 6274 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20151106/3cb9da71/attachment.bin>
More information about the llvm-commits
mailing list