[PATCH] D22952: [LoopVectorize] Detect loops in the innermost loop before creating InnerLoopVectorizer
Tim Shen via llvm-commits
llvm-commits at lists.llvm.org
Thu Jul 28 18:44:59 PDT 2016
timshen created this revision.
timshen added reviewers: nadav, chandlerc, bkramer, dblaikie.
timshen added a subscriber: llvm-commits.
Herald added a subscriber: mzolotukhin.
InnerLoopVectorizer shouldn't handle a loop with cycles inside the loop
body, even if that cycle isn't a natural loop.
Fixes PR28541.
https://reviews.llvm.org/D22952
Files:
lib/Transforms/Vectorize/LoopVectorize.cpp
test/Transforms/LoopVectorize/pr28541.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D22952.66071.patch
Type: text/x-patch
Size: 5851 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160729/684086cb/attachment.bin>
More information about the llvm-commits
mailing list