Hi, This patch (0003) adds support for the keyword aggressive to be used with pragma loop hints. Specifying aggressive for vectorize or interleave will add mem.parallel_loop_access metadata to loads/stores within the loop. This uses the LoopInfo InsertHelper provided for OpenMP.
The new pragma syntax: #pragma clang loop vectorize(aggressive) interleave(aggressive) The metadata vectorize.enable will be modified in a follow-up patch to an integer. 0 - disable, 1 - enable, 2 - aggressive. This will be combined with an LLVM patch to identify the aggressive option and override the cost model, and potentially other restrictions on vectorization/interleaving. Patch 0001 moves some pragma loop hints to the correct folder and 0002 fixes a small diagnostic bug. Tyler
0001-Moved-CPP-tests-to-CodeGenCXX.patch
Description: Binary data
0002-Fixed-incorrect-diagnostic-message.patch
Description: Binary data
0003-Add-aggressive-option-for-pragma-loop-hints.patch
Description: Binary data
_______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
