diff options
author | Tyler Nowicki <tyler.nowicki@gmail.com> | 2015-08-27 18:56:49 +0000 |
---|---|---|
committer | Tyler Nowicki <tyler.nowicki@gmail.com> | 2015-08-27 18:56:49 +0000 |
commit | 5eaa5a9d2617543322412b12a3c33f18381d29d7 (patch) | |
tree | 25d1d2da0d1870e5739ea2ae6fc0e9a5a350f47f /clang/test/Analysis/malloc.c | |
parent | 05845d31c9a8a3b94d6344845243500d56a7afcf (diff) | |
download | bcm5719-llvm-5eaa5a9d2617543322412b12a3c33f18381d29d7.tar.gz bcm5719-llvm-5eaa5a9d2617543322412b12a3c33f18381d29d7.zip |
Improve vectorization diagnostic messages and extend vectorize(enable) pragma.
This patch changes the analysis diagnostics produced when loops with
floating-point recurrences or memory operations are identified. The new messages
say "cannot prove it is safe to reorder * operations; allow reordering by
specifying #pragma clang loop vectorize(enable)". Depending on the type of
diagnostic the message will include additional options such as ffast-math or
__restrict__.
This patch also allows the vectorize(enable) pragma to override the low pointer
memory check threshold. When the hint is given a higher threshold is used.
See the clang patch for the options produced for each diagnostic.
llvm-svn: 246187
Diffstat (limited to 'clang/test/Analysis/malloc.c')
0 files changed, 0 insertions, 0 deletions