On 05/01/13 10:58, Iyer, Balaji V wrote:

Well, it looks like things are bit simpler than expected.

Multiple vectorlength clauses are being deprecated or eliminated
in the upcoming spec.  So it looks like vectorlength is the same
thing as the safelen clause.

If you agree then I can get rid of OMP_CLAUSE_CILK_VECTORLENGTH
and just emit an OMP_CLAUSE_SAFELEN.

Agreed?

To my best knowledge, Yes. I believe safelen requires/allows only 1
value, so we should do what Jakub mentioned (vectorlength (a, b, c))
should be converted to safelen (max(a,b,c))

Well, we don't even need to do max(a,b,c) because according to the Cilk
Plus forum, the upcoming spec does not allow multiple vectorlength clauses (or arguments), so only vectorlength(const_expr) is allowed.

Did I misunderstand something here?

Reply via email to