diff options
author | Richard Trieu <rtrieu@google.com> | 2013-06-28 21:54:25 +0000 |
---|---|---|
committer | Richard Trieu <rtrieu@google.com> | 2013-06-28 21:54:25 +0000 |
commit | c09324483cf8c8904b7250f072d8f64e9b00656e (patch) | |
tree | 01fa2b3e0fecb81c24f9e197e95f14760871fb13 /lib/Transforms/Vectorize/SLPVectorizer.cpp | |
parent | 5d3257e37ced7dd75023bb9c4619f297374f61d6 (diff) | |
download | external_llvm-c09324483cf8c8904b7250f072d8f64e9b00656e.zip external_llvm-c09324483cf8c8904b7250f072d8f64e9b00656e.tar.gz external_llvm-c09324483cf8c8904b7250f072d8f64e9b00656e.tar.bz2 |
Fix broken asserts that never fire.
Change assert("text") to assert(0 && "text"). The first case is a const char *
to bool conversion, which always evaluates to true, never triggering the
assert. The second case will always trigger the assert.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@185227 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Vectorize/SLPVectorizer.cpp')
0 files changed, 0 insertions, 0 deletions