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

Michael Kruse via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Oct 17 16:40:11 PDT 2019


Meinersbur added a comment.

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?


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