HomePhabricator

[LoopVectorize] Detect loops in the innermost loop before creating…

Authored by timshen on Aug 12 2016, 3:47 PM.

Description

[LoopVectorize] Detect loops in the innermost loop before creating InnerLoopVectorizer

InnerLoopVectorizer shouldn't handle a loop with cycles inside the loop
body, even if that cycle isn't a natural loop.

Fixes PR28541.

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

llvm-svn: 278573