| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Add loop pragma for Loop Distribution | Adam Nemet | 2016-06-14 | 1 | -0/+4 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Summary: This is similar to other loop pragmas like 'vectorize'. Currently it only has state values: distribute(enable) and distribute(disable). When one of these is specified the corresponding loop metadata is generated: !{!"llvm.loop.distribute.enable", i1 true/false} As a result, loop distribution will be attempted on the loop even if Loop Distribution in not enabled globally. Analogously, with 'disable' distribution can be turned off for an individual loop even when the pass is otherwise enabled. There are some slight differences compared to the existing loop pragmas. 1. There is no 'assume_safety' variant which makes its handling slightly different from 'vectorize'/'interleave'. 2. Unlike the existing loop pragmas, it does not have a corresponding numeric pragma like 'vectorize' -> 'vectorize_width'. So for the consistency checks in CheckForIncompatibleAttributes we don't need to check it against other pragmas. We just need to check for duplicates of the same pragma. Reviewers: rsmith, dexonsmith, aaron.ballman Subscribers: bob.wilson, cfe-commits, hfinkel Differential Revision: http://reviews.llvm.org/D19403 llvm-svn: 272656 | ||||
| * | Allow constant expressions in pragma loop hints. | Tyler Nowicki | 2014-10-12 | 1 | -0/+12 |
| | | | | | | | | | 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 | ||||
| * | Add support for #pragma nounroll. | Mark Heffernan | 2014-07-24 | 1 | -1/+11 |
| | | | | | llvm-svn: 213885 | ||||
| * | In unroll pragma syntax and loop hint metadata, change "enable" forms to a ↵ | Mark Heffernan | 2014-07-23 | 1 | -2/+2 |
| | | | | | | | new form using the string "full". llvm-svn: 213771 | ||||
| * | Add support for '#pragma unroll'. | Mark Heffernan | 2014-07-21 | 1 | -0/+22 |
| | | | | | llvm-svn: 213574 | ||||
| * | Add loop unroll pragma support | Eli Bendersky | 2014-06-11 | 1 | -0/+6 |
| | | | | | | | | | http://reviews.llvm.org/D4089 Patch by Mark Heffernan. llvm-svn: 210667 | ||||
| * | *Really* fix DOS newlines introduced in r210330 | Reid Kleckner | 2014-06-10 | 1 | -62/+62 |
| | | | | | | | r210369 didn't quite catch all of them. llvm-svn: 210593 | ||||
| * | Adding a new #pragma for the vectorize and interleave optimization hints. | Aaron Ballman | 2014-06-06 | 1 | -0/+62 |
| Patch thanks to Tyler Nowicki! llvm-svn: 210330 | |||||

