OSDN Git Service

Fix the assertion error in collectLoopUniforms caused by empty Worklist before expanding.
authorWei Mi <wmi@google.com>
Wed, 27 Jul 2016 23:53:58 +0000 (23:53 +0000)
committerWei Mi <wmi@google.com>
Wed, 27 Jul 2016 23:53:58 +0000 (23:53 +0000)
commit8d876fcdcdd16078c95bfd1bca68aab248598790
tree8cf493e10443b83c789c9eb2f2edf1e9696d6f4f
parent6d9563a0bcf0b97e97e09fd84982ee272afd6e77
Fix the assertion error in collectLoopUniforms caused by empty Worklist before expanding.

Contributed-by: David Callahan
Differential Revision: https://reviews.llvm.org/D22886

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@276943 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Vectorize/LoopVectorize.cpp
test/Transforms/LoopVectorize/2016-07-27-loop-vec.ll [new file with mode: 0644]