[PATCH] D15906: [Vectorization] Actually return from error case in isStridedPtr

Tim Shen via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 5 14:43:45 PST 2016


timshen created this revision.
timshen added subscribers: llvm-commits, echristo.

The early return seems to be missed. This causes a radical and wrong loop optimization on powerpc. It isn't reproducible on x86_64, because "UseInterleaved" is false.

http://reviews.llvm.org/D15906

Files:
  lib/Analysis/LoopAccessAnalysis.cpp
  test/Analysis/LoopAccessAnalysis/interleave_innermost.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D15906.44064.patch
Type: text/x-patch
Size: 3752 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160105/1fa944f0/attachment.bin>


More information about the llvm-commits mailing list