[Polly] [Refactor] Use a function attribute to make polly skip a function

Johannes Doerfert jdoerfert at codeaurora.org
Tue Jul 15 12:40:52 PDT 2014



I would like to get rid of the code generation -> scop detection dependency
we have due to the parallel subfunctions.

Attached is a patch which utilizes a function attribute instead of a "set of
invalid functions" to skip functions in scop detection.

The interface is still the same but now you can also use the function
attribute without the ScopDetection Pass.


I also attached a test case where I placed that attribute by hand.


What do you think?


Best regards,





Johannes Doerfert

Employee of Qualcomm Innovation Center, Inc.

Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by
The Linux Foundation


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140715/49a523d2/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Refactor-Use-attributes-to-mark-function-as-invalid-.patch
Type: application/octet-stream
Size: 5930 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140715/49a523d2/attachment.obj>

More information about the llvm-commits mailing list