diff options
| author | Tyler Nowicki <tnowicki@apple.com> | 2014-07-16 00:36:00 +0000 |
|---|---|---|
| committer | Tyler Nowicki <tnowicki@apple.com> | 2014-07-16 00:36:00 +0000 |
| commit | 641d8a06bdf6a503355d55b7a0e993a979787696 (patch) | |
| tree | e8af7de77b07cf25c8ee330cb437472c09f1afc7 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
| parent | 4e32604f60c03c71c81f3f30fb31b1b0734e467d (diff) | |
| download | llvm-641d8a06bdf6a503355d55b7a0e993a979787696.zip llvm-641d8a06bdf6a503355d55b7a0e993a979787696.tar.gz llvm-641d8a06bdf6a503355d55b7a0e993a979787696.tar.bz2 | |
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
llvm-svn: 213110
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions
