[PATCH] D69088: [Lex] #pragma clang transform

Alexey Bataev via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Oct 17 16:49:18 PDT 2019


ABataev added a comment.

In D69088#1713901 <https://reviews.llvm.org/D69088#1713901>, @Meinersbur wrote:

> In D69088#1713831 <https://reviews.llvm.org/D69088#1713831>, @tyler.nowicki wrote:
>
> > That approach would avoid the inevitable conflicts of having both loop and transform pragmas on the same loop.
>
>
> I fear it will give us far worse ambiguities. Consider:
>
>   #pragma clang loop unroll(enable) respect_order unrollandjam(enable) unroll_count(4) 
>
>
> How often does it unroll?


Just do not allow this form with respect_order clause.


Repository:
  rC Clang

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D69088/new/

https://reviews.llvm.org/D69088





More information about the cfe-commits mailing list