commit | 77f03040d5989b6a905496b3777e112fc3f24c8e | [log] [tgz] |
---|---|---|
author | Tyler Nowicki <tnowicki@apple.com> | Wed Jul 16 00:36:00 2014 +0000 |
committer | Tyler Nowicki <tnowicki@apple.com> | Wed Jul 16 00:36:00 2014 +0000 |
tree | 825787d90d8db0881e0a118796fba04a7ab9fae0 | |
parent | 7e752a311a999fe53546f57eb203eaad23296fe7 [diff] |
Emit warnings if vectorization is forced and fails. This patch modifies the existing DiagnosticInfo system to create a generic base class that is inherited to produce diagnostic-based warnings. This is used by the loop vectorizer to trigger a warning when vectorization is forced and fails. Several tests have been added to verify this behavior. Reviewed by: Arnold Schwaighofer git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@213110 91177308-0d34-0410-b5e6-96231b3b80d8