SLPVectorizer: Fix a bug in the code that scans the tree in search of nodes with...
authorNadav Rotem <nrotem@apple.com>
Sun, 21 Apr 2013 07:37:56 +0000 (07:37 +0000)
committerNadav Rotem <nrotem@apple.com>
Sun, 21 Apr 2013 07:37:56 +0000 (07:37 +0000)
commitbd65805016562bd0eed157123e9998d8916c3088
tree2cd64c6b67f797e183e92b8afc0ef947fdb7943c
parent899b2f9d0b3805ff360236a5de61637dc64bcdfd
SLPVectorizer: Fix a bug in the code that scans the tree in search of nodes with multiple users.
We did not terminate the switch case and we executed the search routine twice.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179974 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Vectorize/VecUtils.cpp