aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorTyler Nowicki <tnowicki@apple.com>2014-07-16 00:36:00 +0000
committerTyler Nowicki <tnowicki@apple.com>2014-07-16 00:36:00 +0000
commit641d8a06bdf6a503355d55b7a0e993a979787696 (patch)
treee8af7de77b07cf25c8ee330cb437472c09f1afc7 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parent4e32604f60c03c71c81f3f30fb31b1b0734e467d (diff)
downloadllvm-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