Tyler Nowicki
c724a83e20
Allow constant expressions in pragma loop hints.
...
Previously loop hints such as #pragma loop vectorize_width(#) required a constant. This patch allows a constant expression to be used as well. Such as a non-type template parameter or an expression (2 * c + 1).
Reviewed by Richard Smith
llvm-svn: 219589
2014-10-12 20:46:07 +00:00
Mark Heffernan
c888e41c0c
Add support for #pragma nounroll.
...
llvm-svn: 213885
2014-07-24 18:09:38 +00:00
Mark Heffernan
450c23843e
In unroll pragma syntax and loop hint metadata, change "enable" forms to a new form using the string "full".
...
llvm-svn: 213771
2014-07-23 17:31:31 +00:00
Mark Heffernan
bd26f5ea4d
Add support for '#pragma unroll'.
...
llvm-svn: 213574
2014-07-21 18:08:34 +00:00
Eli Bendersky
86483b3a0c
Add loop unroll pragma support
...
http://reviews.llvm.org/D4089
Patch by Mark Heffernan.
llvm-svn: 210667
2014-06-11 17:56:26 +00:00
Reid Kleckner
4173f6aff9
*Really* fix DOS newlines introduced in r210330
...
r210369 didn't quite catch all of them.
llvm-svn: 210593
2014-06-10 21:35:24 +00:00
Aaron Ballman
b06b15aa28
Adding a new #pragma for the vectorize and interleave optimization hints.
...
Patch thanks to Tyler Nowicki!
llvm-svn: 210330
2014-06-06 12:40:24 +00:00