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
Details
Details
- Reviewers
Meinersbur
Diff Detail
Diff Detail
Event Timeline
Comment Actions
I never wrote this down, but I believe adding writes to global constants just to annotate the source code is not the right approach. As this patch is old I suggest to open a new review in case this becomes interesting again. I resign from this review to empy my queue.