]> granicus.if.org Git - clang/commit
Improve options printed on vectorization analysis diagnostics.
authorTyler Nowicki <tyler.nowicki@gmail.com>
Thu, 27 Aug 2015 18:58:34 +0000 (18:58 +0000)
committerTyler Nowicki <tyler.nowicki@gmail.com>
Thu, 27 Aug 2015 18:58:34 +0000 (18:58 +0000)
commit39d0a05d24fbb5d3636c4790422b3f98b680b626
tree2fd592c673e1a5ab1f4f63f34902e9cf32d4b08c
parent26562449f84df8520b7aedded4b92b8573c8d8c3
Improve options printed on vectorization analysis diagnostics.

The LLVM 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__.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@246189 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/DiagnosticFrontendKinds.td
test/Frontend/optimization-remark-options.c