Fix PR14565. Don't if-convert loops that have switch statements in them.
authorNadav Rotem <nrotem@apple.com>
Tue, 11 Dec 2012 04:55:10 +0000 (04:55 +0000)
committerNadav Rotem <nrotem@apple.com>
Tue, 11 Dec 2012 04:55:10 +0000 (04:55 +0000)
commitcfb6285fdb27fba97ddc3ebf6485110d9a157ac5
tree6a027fd341bc2d9856a09345427fb2d77f85f026
parent613abf3fa6c69f709fbc122caaa74435222c4bf3
Fix PR14565. Don't if-convert loops that have switch statements in them.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@169813 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Vectorize/LoopVectorize.cpp
test/Transforms/LoopVectorize/if-conv-crash.ll [new file with mode: 0644]