OSDN Git Service

[LV] Remove type restriction for vector phi creation
authorMatthew Simpson <mssimpso@codeaurora.org>
Fri, 10 Feb 2017 16:15:26 +0000 (16:15 +0000)
committerMatthew Simpson <mssimpso@codeaurora.org>
Fri, 10 Feb 2017 16:15:26 +0000 (16:15 +0000)
commit21785b88f909cf9faebef93f2dd2b1112c2be27e
treebff1d22184cf6ec305bd38187ca1450927a71b27
parent7f4371b614a6e25f0efd2133d11d631329eba1fb
[LV] Remove type restriction for vector phi creation

We previously only created a vector phi node for an induction variable if its
type matched the type of the canonical induction variable.

Differential Revision: https://reviews.llvm.org/D29776

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@294755 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Vectorize/LoopVectorize.cpp
test/Transforms/LoopVectorize/induction.ll